projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strings: Add support for Minix.
[gnulib.git]
/
lib
/
strings.in.h
diff --git
a/lib/strings.in.h
b/lib/strings.in.h
index
647903a
..
a82b2d4
100644
(file)
--- a/
lib/strings.in.h
+++ b/
lib/strings.in.h
@@
-23,6
+23,12
@@
#endif
@PRAGMA_COLUMNS@
#endif
@PRAGMA_COLUMNS@
+/* Minix 3.1.8 has a bug: <sys/types.h> must be included before <strings.h>.
+ But avoid namespace pollution on glibc systems. */
+#if defined __minix && !defined __GLIBC__
+# include <sys/types.h>
+#endif
+
/* The include_next requires a split double-inclusion guard. */
#@INCLUDE_NEXT@ @NEXT_STRINGS_H@
/* The include_next requires a split double-inclusion guard. */
#@INCLUDE_NEXT@ @NEXT_STRINGS_H@