summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/includes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index a2c8b3472d..f1188e2aaf 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -77,7 +77,9 @@ _PUBLIC_ void smb_panic(const char *why) NORETURN_ATTRIBUTE;
#include "system/time.h"
#include "system/wait.h"
+#ifndef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
+#endif
/* Lists, trees, caching, database... */
#include "talloc/talloc.h"