summaryrefslogtreecommitdiff
path: root/source4/libgpo
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libgpo')
-rw-r--r--source4/libgpo/gpo_s4.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/libgpo/gpo_s4.h b/source4/libgpo/gpo_s4.h
index 3e5cb06bdc..f616f6bd32 100644
--- a/source4/libgpo/gpo_s4.h
+++ b/source4/libgpo/gpo_s4.h
@@ -20,8 +20,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef __LIBGPO_GPO_H__
-#define __LIBGPO_GPO_H__
+#ifndef __LIBGPO_GPO_S4_H__
+#define __LIBGPO_GPO_S4_H__
+
+#if _SAMBA_BUILD_ == 4
+#include "source4/libcli/libcli.h"
+#endif
NTSTATUS gpo_copy_file(TALLOC_CTX *mem_ctx,
struct smbcli_state *cli,