summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getdnnm.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-10-03 09:15:04 +0000
committerEric Andersen <andersen@codepoet.org>2001-10-03 09:15:04 +0000
commit72bc479e2abd4f80a4d1bc7e6bc7deac360e7d33 (patch)
tree5a7051740428315613fcd92bcf41cbaa77f0fe7a /libc/sysdeps/linux/common/getdnnm.c
parentb78d55926e729a670cb0b8225c22bb92b02f214b (diff)
Silly little changes
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)
{