summaryrefslogtreecommitdiffstats
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libnetworking/rtems/sghostname.c b/cpukit/libnetworking/rtems/sghostname.c
index af383d41b9..9c756bcc31 100644
--- a/cpukit/libnetworking/rtems/sghostname.c
+++ b/cpukit/libnetworking/rtems/sghostname.c
@@ -1,3 +1,5 @@
+#include <machine/rtems-bsd-kernel-space.h>
+
/*
* RTEMS versions of hostname functions
* FIXME: Not thread-safe