]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Remove test for HAVE_LIMITS_H; we can assume
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 May 2005 19:32:28 +0000 (19:32 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 May 2005 19:32:28 +0000 (19:32 +0000)
it's always true now.

src/hostname.c

index 470be2f575dbc79406e2d3a4f79a6c1fe858ec01..082c891437b80c333b15d847a47129037524b9da 100644 (file)
@@ -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