summaryrefslogtreecommitdiff
path: root/cpukit/libnetworking/rtems/sghostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/rtems/sghostname.c')
-rw-r--r--cpukit/libnetworking/rtems/sghostname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libnetworking/rtems/sghostname.c b/cpukit/libnetworking/rtems/sghostname.c
index 8ac5c58954..af383d41b9 100644
--- a/cpukit/libnetworking/rtems/sghostname.c
+++ b/cpukit/libnetworking/rtems/sghostname.c
@@ -9,6 +9,7 @@
#include <string.h>
#include <errno.h>
+#include <unistd.h>
#include <rtems/rtems_bsdnet.h>
#include <sys/param.h>
#include <sys/malloc.h>