Move some headers around to avoid confusion.
[ira/wip.git] / source4 / libgpo / gpo_s4.h
index 3e5cb06bdc607a7b88eaa2b430b3b3c3b49e5e67..f616f6bd320647097d240ab6a6d1ebfcf2bdac31 100644 (file)
    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,