summaryrefslogtreecommitdiff
path: root/libc/inet
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-23 11:14:16 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-23 11:14:16 +0000
commitd5f635529a4dfe62b5ef565135b6f506040a66b0 (patch)
treeb66b2aa7422304b491d1f9c21986dd3f57cd017d /libc/inet
parent9535cbf18c6b4415dc35c220ca4cca15eba5dc1b (diff)
select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist
Diffstat (limited to 'libc/inet')
-rw-r--r--libc/inet/resolv.c1
-rw-r--r--libc/inet/rpc/ruserpass.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 0221dbb59..560c56988 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -136,6 +136,7 @@
#define __FORCE_GLIBC
#include <features.h>
#include <string.h>
+#include <strings.h>
#include <stdio.h>
#include <signal.h>
#include <errno.h>
diff --git a/libc/inet/rpc/ruserpass.c b/libc/inet/rpc/ruserpass.c
index 97f1284b3..0adcbf1d3 100644
--- a/libc/inet/rpc/ruserpass.c
+++ b/libc/inet/rpc/ruserpass.c
@@ -40,6 +40,7 @@
#include <stdio_ext.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <unistd.h>
libc_hidden_proto(strcat)