summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-01-30 10:53:18 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-01 21:54:21 +0100
commit8080dbad78edbc26c8ece8ae7f1abc27f0d7afd4 (patch)
tree2761fe7d45b1864f21f3d4d8dadca0337b99b05d /source3/lib
parent8c66c8c756bde8654a3c1d07082b0ca5d357dc29 (diff)
downloadsamba-8080dbad78edbc26c8ece8ae7f1abc27f0d7afd4.tar.gz
s3-lib: Fix util_cmdline which doesn't use popt.
This creates its own header file for util_cmdline so it doesn't need to link against popt. This should fix linking on FreeBSD.
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/cm.c2
-rw-r--r--source3/lib/util_cmdline.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index e1e7a41a4f4..4dfa6b50a25 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -18,7 +18,7 @@
*/
#include "includes.h"
-#include "popt_common.h"
+#include "auth_info.h"
#include "lib/netapi/netapi.h"
#include "lib/netapi/netapi_private.h"
diff --git a/source3/lib/util_cmdline.c b/source3/lib/util_cmdline.c
index 9fbdf77f191..1d2c7256eab 100644
--- a/source3/lib/util_cmdline.c
+++ b/source3/lib/util_cmdline.c
@@ -22,7 +22,7 @@
*/
#include "includes.h"
-#include "popt_common.h"
+#include "auth_info.h"
#include "secrets.h"
/**************************************************************************n