summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/netapi/examples/common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/lib/netapi/examples/common.c b/source3/lib/netapi/examples/common.c
index db9ab0a2c9..2c3e4d711d 100644
--- a/source3/lib/netapi/examples/common.c
+++ b/source3/lib/netapi/examples/common.c
@@ -1,7 +1,10 @@
#include <stdlib.h>
#include <string.h>
-#include <netapi.h>
+#include <sys/types.h>
+#include <inttypes.h>
+
#include <popt.h>
+#include <netapi.h>
void popt_common_callback(poptContext con,
enum poptCallbackReason reason,