summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 889012ab78..9ecad19a31 100755
--- a/tools/configure
+++ b/tools/configure
@@ -170,7 +170,9 @@ check_sigaltstack() {
#include <signal.h>
int main(int argc, char **argv)
{
+#ifndef NULL
#define NULL (void*)0
+#endif
sigaltstack(NULL, NULL);
return 0;
}