summaryrefslogtreecommitdiff
path: root/lib/getdomainname.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-10-19 03:36:00 +0200
committerBruno Haible <bruno@clisp.org>2008-10-19 03:36:00 +0200
commit977cc95fb20fde55a8ce6654397e7ca56f6c6792 (patch)
treeba6a6b93912eeb88a63cee5ab4816f7b8f2edc3d /lib/getdomainname.c
parent973f26fd8722bcf6cea6d5a15b3f3c7860e55100 (diff)
downloadgnulib-977cc95fb20fde55a8ce6654397e7ca56f6c6792.tar.gz
Move the getdomainname() declaration to <unistd.h>.
Diffstat (limited to 'lib/getdomainname.c')
-rw-r--r--lib/getdomainname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/getdomainname.c b/lib/getdomainname.c
index f4c6a16147..658075320c 100644
--- a/lib/getdomainname.c
+++ b/lib/getdomainname.c
@@ -1,6 +1,6 @@
/* getdomainname emulation for systems that doesn't have it.
- Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2006, 2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
#include <config.h>
/* Specification. */
-#include "getdomainname.h"
+#include <unistd.h>
#include <string.h>
#include <errno.h>