diff options
Diffstat (limited to 'lib/birdlib.h')
-rw-r--r-- | lib/birdlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h index 545ee1b5..b57478df 100644 --- a/lib/birdlib.h +++ b/lib/birdlib.h @@ -20,6 +20,10 @@ #define MIN(a,b) (((a)<(b))?(a):(b)) #define MAX(a,b) (((a)>(b))?(a):(b)) +#ifndef NULL +#define NULL ((void *) 0) +#endif + /* Functions which don't return */ #define NORET __attribute__((noreturn)) |