projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a084a9
)
opt: define NULL
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:17:42 +0000
(11:47 +1030)
committer
Rusty 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
patch
|
blob
|
history
diff --git
a/ccan/opt/opt.h
b/ccan/opt/opt.h
index 5757778577e2079b31641f176dd6976fe11c4d3d..812fec869aeba311d27e0dd4844ab34d862a9958 100644
(file)
--- 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;