Browse Source

opt: define NULL

Headers should stand alone; we use NULL, so we should make sure it's defined.
Rusty Russell 15 years ago
parent
commit
6671102184
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ccan/opt/opt.h

+ 1 - 0
ccan/opt/opt.h

@@ -3,6 +3,7 @@
 #include <ccan/compiler/compiler.h>
 #include <ccan/typesafe_cb/typesafe_cb.h>
 #include <stdbool.h>
+#include <stdlib.h>
 
 struct opt_table;