aboutsummaryrefslogtreecommitdiff
path: root/Source/DOH/doh.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/DOH/doh.h')
-rw-r--r--Source/DOH/doh.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/DOH/doh.h b/Source/DOH/doh.h
index af33933be..8a8c918f1 100644
--- a/Source/DOH/doh.h
+++ b/Source/DOH/doh.h
@@ -14,6 +14,13 @@
#ifndef _DOH_H
#define _DOH_H
+#ifndef MACSWIG
+#include "swigconfig.h"
+#endif
+
+#include <stdio.h>
+#include <stdarg.h>
+
/* Set the namespace prefix for DOH API functions. This can be used to control
visibility of the functions in libraries */
@@ -131,9 +138,6 @@
#define DohNext DOH_NAMESPACE(Next)
#endif
-#include <stdio.h>
-#include <stdarg.h>
-
#define DOH_MAJOR_VERSION 0
#define DOH_MINOR_VERSION 1