summaryrefslogtreecommitdiff
path: root/source3/ubiqx/sys_include.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/ubiqx/sys_include.h')
-rw-r--r--source3/ubiqx/sys_include.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/ubiqx/sys_include.h b/source3/ubiqx/sys_include.h
index 9596834638..ea66d76380 100644
--- a/source3/ubiqx/sys_include.h
+++ b/source3/ubiqx/sys_include.h
@@ -32,7 +32,20 @@
* ========================================================================== **
*/
+#ifndef _INCLUDES_H
+
+/* Block the inclusion of some Samba headers so that ubiqx types won't be
+ * used before the headers that define them. These headers are not needed
+ * in the ubiqx modules anyway.
+ */
+#define _NAMESERV_H_
+#define _PROTO_H_
+
+/* The main Samba system-adaptive header file.
+ */
#include "../includes.h"
+#endif /* _INCLUDES_H */
+
/* ================================ The End ================================= */
#endif /* SYS_INCLUDE_H */