summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-03-22 11:47:42 +1030
committerRusty Russell <rusty@rustcorp.com.au>2011-03-22 11:47:42 +1030
commit66711021849dd07cd29383c9ed40ab4b9f3d1e07 (patch)
treee1e5d89a6c0a0014fe3111138bbe536574ced7a4
parent4a084a9e956e6e5fec9f9ecb02ca56a79de4a422 (diff)
opt: define NULL
Headers should stand alone; we use NULL, so we should make sure it's defined.
-rw-r--r--ccan/opt/opt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ccan/opt/opt.h b/ccan/opt/opt.h
index 57577785..812fec86 100644
--- a/ccan/opt/opt.h
+++ b/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;