summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-13 10:36:11 -0800
committerJeremy Allison <jra@samba.org>2009-02-13 10:36:11 -0800
commit7d73130125723425e8884b00ca20ab77788f39d8 (patch)
treedb00f7b273282ff7e3a04a0c270a21906cbfda6a /source3/include
parenta3531314dd6c7da05e4b35cc84a8c3a0addaa0a4 (diff)
downloadsamba-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 'source3/include')
-rw-r--r--source3/include/includes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 2c033e8b69..a9f813b7f8 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1049,7 +1049,9 @@ ssize_t readahead(int fd, off64_t offset, size_t count);
#undef HAVE_MMAP
#endif
+#ifndef CONST_DISCARD
#define CONST_DISCARD(type, ptr) ((type) ((void *) (ptr)))
+#endif
void smb_panic( const char *why ) _NORETURN_;
void dump_core(void) _NORETURN_;