summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-22 14:13:37 +0000
committerJim Meyering <jim@meyering.net>2003-07-22 14:13:37 +0000
commite21334b795e49dbdb5226933efa1bfd8d1fb5cbf (patch)
tree44660201c4f5de446cee8bf86bb807edd213abcc /src
parent15890cb3df105607bae27a0a6fb28a8ef9b2d28f (diff)
downloadcoreutils-e21334b795e49dbdb5226933efa1bfd8d1fb5cbf.tar.xz
Don't include <unistd.h>. system.h already does that.
Diffstat (limited to 'src')
-rw-r--r--src/hostid.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/hostid.c b/src/hostid.c
index 6eec1c3b0..a0ea77be8 100644
--- a/src/hostid.c
+++ b/src/hostid.c
@@ -1,5 +1,5 @@
/* print the hexadecimal identifier for the current host
- Copyright (C) 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999, 2000, 2001, 2002, 2003 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,9 +20,6 @@
#include <config.h>
#include <stdio.h>
#include <sys/types.h>
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
#include "system.h"
#include "closeout.h"