projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44da466
)
Include <string.h> or <strings.h>, as appropriate, for declaration of strcmp.
author
Jim Meyering
<jim@meyering.net>
Thu, 29 Jun 2000 11:29:55 +0000
(11:29 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 29 Jun 2000 11:29:55 +0000
(11:29 +0000)
lib/same.c
patch
|
blob
|
history
diff --git
a/lib/same.c
b/lib/same.c
index 1cfb69322c939c22912da9ab73ff598daf57d268..dc28c7bdabdcaadcb3b25a3b82e72a75908d49e8 100644
(file)
--- a/
lib/same.c
+++ b/
lib/same.c
@@
-36,6
+36,12
@@
extern int errno;
#endif
+#if HAVE_STRING_H
+# include <string.h>
+#else
+# include <strings.h>
+#endif
+
#include "same.h"
#include "dirname.h"
#include "error.h"