configure: include stddef.h for NULL
authorScott Wood <scottwood@freescale.com>
Tue, 5 Oct 2010 19:28:17 +0000 (14:28 -0500)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 9 Oct 2010 08:17:55 +0000 (08:17 +0000)
commit17c3e66df7d3a61ba5ce96c9cbd0a5703d966a1b
treef8bb881b9fc197c55c811353683c0c1f20026c6f
parent40d239ba12f2c62529ef18bb72effc870a9fa2c7
configure: include stddef.h for NULL

This fixes an observed failure to detect madvise() on Linux.

To avoid similar issues, all other tests that use NULL but don't already
have stddef.h (or another header that is defined to provide NULL,
such as stdio.h, unistd.h, or time.h) are also fixed.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure