]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <string.h> unconditionally.
authorJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:45:43 +0000 (08:45 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 10 Sep 2003 08:45:43 +0000 (08:45 +0000)
lib/getugroups.c

index 2be31ecb2545d22ed0d1023c7cbe374a8539ea16..b5e26877787168c898ea88d69e773ac6b70e5802 100644 (file)
@@ -1,5 +1,5 @@
 /* getugroups.c -- return a list of the groups a user is in
-   Copyright (C) 1990, 1991, 1998, 1999, 2000 Free Software Foundation.
+   Copyright (C) 1990, 1991, 1998, 1999, 2000, 2003 Free Software Foundation.
 
    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
    You lose!  */
 struct group *getgrent ();
 
-#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
-# include <string.h>
-#else
-# include <strings.h>
-#endif
+#include <string.h>
 
 #define STREQ(s1, s2) ((strcmp (s1, s2) == 0))