projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec4d2bd
)
* system.h [rindex, incl, bcopy, bzero]: Ditto.
author
Jim Meyering
<jim@meyering.net>
Mon, 5 Apr 1993 00:53:40 +0000
(
00:53
+0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 5 Apr 1993 00:53:40 +0000
(
00:53
+0000)
* userspec.c [index]: Ditto.
lib/userspec.c
patch
|
blob
|
history
diff --git
a/lib/userspec.c
b/lib/userspec.c
index 60c6ecc1aa1a775ea43a2109c467d8635dfd94b2..44d7d91744d68e89625015aa1c101562e1a78df6 100644
(file)
--- a/
lib/userspec.c
+++ b/
lib/userspec.c
@@
-22,9
+22,11
@@
#include <pwd.h>
#include <grp.h>
-#if defined(
USG) || defined(STDC_HEADERS
)
+#if defined(
STDC_HEADERS) || defined(HAVE_STRING_H
)
#include <string.h>
+#ifndef index
#define index strchr
+#endif
#else
#include <strings.h>
#endif