summaryrefslogtreecommitdiff
path: root/src/hostname.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-05-18 19:32:28 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-05-18 19:32:28 +0000
commit05218a8c7e8bce40376951e903c01587662cfe08 (patch)
tree01e9e03224356a626d492fb5fa73b5782bf691ec /src/hostname.c
parent0045b9321d0821d839a673db0d25c9fd89cf2b48 (diff)
downloadcoreutils-05218a8c7e8bce40376951e903c01587662cfe08.tar.xz
Remove test for HAVE_LIMITS_H; we can assume
it's always true now.
Diffstat (limited to 'src/hostname.c')
-rw-r--r--src/hostname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hostname.c b/src/hostname.c
index 470be2f57..082c89143 100644
--- a/src/hostname.c
+++ b/src/hostname.c
@@ -1,5 +1,5 @@
/* hostname - set or print the name of current host system
- Copyright (C) 1994-1997, 1999-2004 Free Software Foundation, Inc.
+ Copyright (C) 1994-1997, 1999-2005 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
@@ -38,7 +38,7 @@ int sethostname ();
#endif
#if !defined(HAVE_SETHOSTNAME) && defined(HAVE_SYSINFO) && \
- defined (HAVE_SYS_SYSTEMINFO_H) && defined(HAVE_LIMITS_H)
+ defined (HAVE_SYS_SYSTEMINFO_H)
# include <sys/systeminfo.h>
int