summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/charset/charset.h2
-rw-r--r--source4/lib/cmdline/config.mk1
-rw-r--r--source4/lib/cmdline/popt_common.h2
-rw-r--r--source4/lib/util/util.h1
4 files changed, 5 insertions, 1 deletions
diff --git a/source4/lib/charset/charset.h b/source4/lib/charset/charset.h
index df67aebb55..629786ee95 100644
--- a/source4/lib/charset/charset.h
+++ b/source4/lib/charset/charset.h
@@ -22,6 +22,8 @@
#ifndef __CHARSET_H__
#define __CHARSET_H__
+#include "lib/talloc/talloc.h"
+
/* this defines the charset types used in samba */
typedef enum {CH_UTF16=0, CH_UNIX=1, CH_DISPLAY=2, CH_DOS=3, CH_UTF8=4, CH_UTF16BE=5} charset_t;
diff --git a/source4/lib/cmdline/config.mk b/source4/lib/cmdline/config.mk
index 2dc957cc4d..cc82ba443e 100644
--- a/source4/lib/cmdline/config.mk
+++ b/source4/lib/cmdline/config.mk
@@ -4,6 +4,7 @@ OBJ_FILES = credentials.o
REQUIRED_SUBSYSTEMS = CREDENTIALS
[SUBSYSTEM::POPT_SAMBA]
+PUBLIC_HEADERS = popt_common.h
OBJ_FILES = popt_common.o
[SUBSYSTEM::POPT_CREDENTIALS]
diff --git a/source4/lib/cmdline/popt_common.h b/source4/lib/cmdline/popt_common.h
index 785a50ae70..a2eaebbbea 100644
--- a/source4/lib/cmdline/popt_common.h
+++ b/source4/lib/cmdline/popt_common.h
@@ -21,7 +21,7 @@
#ifndef _POPT_COMMON_H
#define _POPT_COMMON_H
-#include "popt.h"
+#include <popt.h>
/* Common popt structures */
extern struct poptOption popt_common_samba[];
diff --git a/source4/lib/util/util.h b/source4/lib/util/util.h
index 60cba737a9..d6b412ee71 100644
--- a/source4/lib/util/util.h
+++ b/source4/lib/util/util.h
@@ -24,6 +24,7 @@
#ifndef _SAMBA_UTIL_H_
#define _SAMBA_UTIL_H_
+#include "core.h"
#include "charset/charset.h"
/**