summaryrefslogtreecommitdiff
path: root/lib/idcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/idcache.c')
-rw-r--r--lib/idcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/idcache.c b/lib/idcache.c
index 3e5f134ae7..dd9c366b16 100644
--- a/lib/idcache.c
+++ b/lib/idcache.c
@@ -20,7 +20,7 @@
#include <pwd.h>
#include <grp.h>
-#if defined(USG) || defined(STDC_HEADERS)
+#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
#include <string.h>
#else
#include <strings.h>