diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-13 10:36:11 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-13 10:36:11 -0800 |
commit | 7d73130125723425e8884b00ca20ab77788f39d8 (patch) | |
tree | db00f7b273282ff7e3a04a0c270a21906cbfda6a /source4/include | |
parent | a3531314dd6c7da05e4b35cc84a8c3a0addaa0a4 (diff) | |
download | samba-7d73130125723425e8884b00ca20ab77788f39d8.tar.gz samba-7d73130125723425e8884b00ca20ab77788f39d8.tar.bz2 samba-7d73130125723425e8884b00ca20ab77788f39d8.zip |
Fix the build. When you do "make distclean; ./autogen; ./configure; make" and it still doesn't build you know it's messed up.
Jeremy.
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/includes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h index d9b7759e7e..ddda21f9d8 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -64,6 +64,10 @@ /* String routines */ #include "../lib/util/safe_string.h" +#ifndef CONST_DISCARD +#define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr))) +#endif + #if 0 /* darn, we can't do this now that we don't link the ldb tools to all the smb libs */ #define TALLOC_ABORT(reason) smb_panic(reason) |