summary refs log tree commit diff
path: root/sysdeps/generic/getdomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/getdomain.c')
-rw-r--r--sysdeps/generic/getdomain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/getdomain.c b/sysdeps/generic/getdomain.c
index 0d675d6d22..e1728dbf4e 100644
--- a/sysdeps/generic/getdomain.c
+++ b/sysdeps/generic/getdomain.c
@@ -19,6 +19,7 @@ Cambridge, MA 02139, USA.  */
 #include <errno.h>
 #include <unistd.h>
 #include <sys/utsname.h>
+#include <string.h>
 
 #if _UTSNAME_DOMAIN_LENGTH
 /* The `uname' information includes the domain name.  */