include limits.h for non-Linux compatibility

This commit is contained in:
Dave Cornejo 2018-04-23 08:49:45 -10:00
parent 50522df3d9
commit 513df9b19d
4 changed files with 4 additions and 0 deletions

View file

@ -52,6 +52,7 @@
#include <regex.h> #include <regex.h>
#include <syslog.h> #include <syslog.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <limits.h>
/* cligen */ /* cligen */
#include <cligen/cligen.h> #include <cligen/cligen.h>

View file

@ -50,6 +50,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <regex.h> #include <regex.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <limits.h>
/* cligen */ /* cligen */
#include <cligen/cligen.h> #include <cligen/cligen.h>

View file

@ -54,6 +54,7 @@
#include <syslog.h> #include <syslog.h>
#include <fcntl.h> #include <fcntl.h>
#include <time.h> #include <time.h>
#include <limits.h>
#include <signal.h> #include <signal.h>
#include <sys/time.h> #include <sys/time.h>

View file

@ -105,6 +105,7 @@ Mapping netconf error-tag -> status code
#include <assert.h> #include <assert.h>
#include <time.h> #include <time.h>
#include <signal.h> #include <signal.h>
#include <limits.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/wait.h> #include <sys/wait.h>