summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdnnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/getdnnm.c')
-rw-r--r--libc/sysdeps/linux/common/getdnnm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/getdnnm.c b/libc/sysdeps/linux/common/getdnnm.c
index 5e1f97b95..aa5a7d756 100644
--- a/libc/sysdeps/linux/common/getdnnm.c
+++ b/libc/sysdeps/linux/common/getdnnm.c
@@ -1,9 +1,11 @@
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#define __USE_GNU
#include <sys/utsname.h>
+
int
getdomainname(char *name, size_t len)
{