Commit 91a787e7 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Include stdio.h if we can't get NULL from somewhere else.

parent c905b0d5
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
# include <stddef.h> # include <stddef.h>
#endif #endif
#include <sys/file.h> #include <sys/file.h>
#ifndef NULL
# include <stdio.h>
#endif
#include "isc.h" #include "isc.h"
#include "intern.h" #include "intern.h"
......
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
#ifdef HAVE_STRING_H #ifdef HAVE_STRING_H
# include <string.h> # include <string.h>
#endif #endif
#ifndef NULL
# include <stdio.h>
#endif
#include "isc.h" #include "isc.h"
#include "intern.h" #include "intern.h"
......
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
#endif #endif
#include <sys/file.h> #include <sys/file.h>
#include <errno.h> #include <errno.h>
#ifndef NULL
# include <stdio.h>
#endif
#include "isc.h" #include "isc.h"
#include "intern.h" #include "intern.h"
......
...@@ -11,10 +11,13 @@ ...@@ -11,10 +11,13 @@
#ifdef HAVE_STDDEF_H #ifdef HAVE_STDDEF_H
# include <stddef.h> # include <stddef.h>
#endif #endif
#ifndef NULL
# include <stdio.h>
#endif
#include "isc.h" #include "isc.h"
#include "intern.h" #include "intern.h"
IscMsgQueue * IscMsgQueue *
isc_newqueue(void) isc_newqueue(void)
{ {
......
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
# include <stddef.h> # include <stddef.h>
#endif #endif
#include <fcntl.h> #include <fcntl.h>
#ifndef NULL
# include <stdio.h>
#endif
#include "isc.h" #include "isc.h"
#include "intern.h" #include "intern.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment