]> git.ozlabs.org Git - ccan/commitdiff
opt: define NULL
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:17:42 +0000 (11:47 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:17:42 +0000 (11:47 +1030)
Headers should stand alone; we use NULL, so we should make sure it's defined.

ccan/opt/opt.h

index 5757778577e2079b31641f176dd6976fe11c4d3d..812fec869aeba311d27e0dd4844ab34d862a9958 100644 (file)
@@ -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;