Include <sys/types.h> for Junos.
authorLinus Nordberg <linus@nordberg.se>
Tue, 18 Dec 2012 07:40:00 +0000 (08:40 +0100)
committerLinus Nordberg <linus@nordberg.se>
Tue, 18 Dec 2012 07:40:00 +0000 (08:40 +0100)
Fix from Luke Howard.

lib/debug.c
lib/radius/client.h

index 2c399a1..6d49d13 100644 (file)
@@ -5,6 +5,7 @@
 #include <config.h>
 #endif
 
+#include <sys/types.h>
 #include <stdio.h>
 #include <assert.h>
 #include <radius/client.h>
index aefb40d..33c9033 100644 (file)
@@ -48,6 +48,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <string.h>
 #endif
 #include <stdarg.h>
+#include <sys/types.h>
 #ifdef HAVE_NETDB_H
 #include <netdb.h>
 #endif