+2012-10-31 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/sys/param.h: Include stddef.h to define NULL.
+
2012-10-31 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix using
/* 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 */
BSD variant of this constant. */
#define DEV_BSIZE 1024
-#ifndef NULL
-#define NULL 0L
-#endif
-
#ifndef NBBY
#define NBBY 8
#endif