about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--inet/tst-gethnm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inet/tst-gethnm.c b/inet/tst-gethnm.c
index fe8e416de0..8af44d66a1 100644
--- a/inet/tst-gethnm.c
+++ b/inet/tst-gethnm.c
@@ -3,6 +3,7 @@
 #include <netdb.h>
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 #include <sys/param.h>
 #include <sys/socket.h>