]> granicus.if.org Git - sudo/commitdiff
need stdlib.h here too
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 14 Dec 2001 22:12:39 +0000 (22:12 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 14 Dec 2001 22:12:39 +0000 (22:12 +0000)
interfaces.c

index 7895c3291fa39333f9e6dfdd7b088e6cad237d28..34f07770be6c228250c5bf0d2229518ae17b5ea0 100644 (file)
@@ -52,6 +52,14 @@ struct rtentry;
 # include <sys/sockio.h>
 #endif
 #include <stdio.h>
+#ifdef STDC_HEADERS
+# include <stdlib.h>
+# include <stddef.h>
+#else
+# ifdef HAVE_STDLIB_H
+#  include <stdlib.h>
+# endif
+#endif /* STDC_HEADERS */
 #ifdef HAVE_STRING_H
 # if defined(HAVE_MEMORY_H) && !defined(STDC_HEADERS)
 #  include <memory.h>