about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/mach/hurd/uname.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 626a14154c..84b0863c37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,7 +7,8 @@ Sat Jul 20 13:28:52 1996  Miles Bader  <miles@gnu.ai.mit.edu>
 	everything and don't bother creating the port set.
 
 	* sysdeps/mach/hurd/uname.c (uname): Deref UNAME to get nodename.
-
+	<unistd.h>: New include.
+	
 	* sysdeps/mach/libc-lock.h (__libc_lock_define): Backslashify
 	continuation line.
 
diff --git a/sysdeps/mach/hurd/uname.c b/sysdeps/mach/hurd/uname.c
index c778797552..e857e8425f 100644
--- a/sysdeps/mach/hurd/uname.c
+++ b/sysdeps/mach/hurd/uname.c
@@ -16,6 +16,7 @@ License along with the GNU C Library; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 
+#include <unistd.h>
 #include <sys/utsname.h>
 #include <hurd.h>
 #include <hurd/startup.h>