summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/examples
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-08 17:17:17 +0200
committerGünther Deschner <gd@samba.org>2008-04-08 19:40:47 +0200
commit6531d0b13fe20447834ed974b582d228002c2fe6 (patch)
tree6fc0e9df42fe8fcb09b50a22b4a44bef9c746f09 /source3/lib/netapi/examples
parentc5cf066c8b212a41bb6d947bf411c68deb67ac29 (diff)
downloadsamba-6531d0b13fe20447834ed974b582d228002c2fe6.tar.gz
samba-6531d0b13fe20447834ed974b582d228002c2fe6.tar.bz2
samba-6531d0b13fe20447834ed974b582d228002c2fe6.zip
Fix includes in libnetapi examples common.c
Guenther (This used to be commit 922ff9d01668c2c2ad10decfd09c0e7b3f0d7592)
Diffstat (limited to 'source3/lib/netapi/examples')
-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,