summaryrefslogtreecommitdiffstats
path: root/freebsd/lib/libc/gen/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib/libc/gen/gethostname.c')
-rw-r--r--freebsd/lib/libc/gen/gethostname.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/lib/libc/gen/gethostname.c b/freebsd/lib/libc/gen/gethostname.c
index df06f760..ea0532ea 100644
--- a/freebsd/lib/libc/gen/gethostname.c
+++ b/freebsd/lib/libc/gen/gethostname.c
@@ -1,3 +1,5 @@
+#include <machine/rtems-bsd-user-space.h>
+
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.