diff options
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/param.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/winsup/cygwin/include/sys/param.h b/winsup/cygwin/include/sys/param.h index 70c4ac98e..f2a7473ee 100644 --- a/winsup/cygwin/include/sys/param.h +++ b/winsup/cygwin/include/sys/param.h @@ -13,6 +13,9 @@ /* Linux includes limits.h, but this is not universally done. */ #include <limits.h> +#define __need_NULL +#include <stddef.h> + /* Max number of open files. The Posix version is OPEN_MAX. */ /* Number of fds is virtually unlimited in cygwin, but we must provide some reasonable value for Posix conformance */ @@ -41,10 +44,6 @@ BSD variant of this constant. */ #define DEV_BSIZE 1024 -#ifndef NULL -#define NULL 0L -#endif - #ifndef NBBY #define NBBY 8 #endif |