diff options
Diffstat (limited to 'lib/stdlib.in.h')
| -rw-r--r-- | lib/stdlib.in.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h index 3bf35bf6b0f..441c018ec18 100644 --- a/lib/stdlib.in.h +++ b/lib/stdlib.in.h | |||
| @@ -90,9 +90,10 @@ struct random_data | |||
| 90 | # endif | 90 | # endif |
| 91 | #endif | 91 | #endif |
| 92 | 92 | ||
| 93 | #if (@GNULIB_MKSTEMP@ || @GNULIB_MKSTEMPS@ || @GNULIB_GETSUBOPT@ || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ && !(defined _WIN32 && ! defined __CYGWIN__) | 93 | #if (@GNULIB_MKSTEMP@ || @GNULIB_MKSTEMPS@ || @GNULIB_MKOSTEMP@ || @GNULIB_MKOSTEMPS@ || @GNULIB_GETSUBOPT@ || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ && !(defined _WIN32 && ! defined __CYGWIN__) |
| 94 | /* On Mac OS X 10.3, only <unistd.h> declares mkstemp. */ | 94 | /* On Mac OS X 10.3, only <unistd.h> declares mkstemp. */ |
| 95 | /* On Mac OS X 10.5, only <unistd.h> declares mkstemps. */ | 95 | /* On Mac OS X 10.5, only <unistd.h> declares mkstemps. */ |
| 96 | /* On Mac OS X 10.13, only <unistd.h> declares mkostemp and mkostemps. */ | ||
| 96 | /* On Cygwin 1.7.1, only <unistd.h> declares getsubopt. */ | 97 | /* On Cygwin 1.7.1, only <unistd.h> declares getsubopt. */ |
| 97 | /* But avoid namespace pollution on glibc systems and native Windows. */ | 98 | /* But avoid namespace pollution on glibc systems and native Windows. */ |
| 98 | # include <unistd.h> | 99 | # include <unistd.h> |