diff options
-rw-r--r-- | interface.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/interface.c b/interface.c index 6342df7c..280c6b7e 100644 --- a/interface.c +++ b/interface.c @@ -15,7 +15,12 @@ #include <stdio.h> #include <string.h> +#if defined(STDC_HEADERS) +#include <stdlib.h> +#endif +#if defined(HAVE_UNISTD_H) #include <unistd.h> +#endif #include <sys/ioctl.h> #include <netinet/in.h> #include <linux/netdevice.h> |