* include/sys/param.h: Include stddef.h to define NULL.
This commit is contained in:
parent
2345b582f2
commit
f54898bac9
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user