--- a/inc/libcmis-c/repository.h	2018-12-27 14:07:55.000000000 +0100
+++ b/inc/libcmis-c/repository.h	2019-04-21 01:29:46.504373226 +0200
@@ -28,12 +28,12 @@
 #ifndef _REPOSITORY_H_
 #define _REPOSITORY_H_
 
+#include <libxml/tree.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-#include <libxml/tree.h>
-
 #include "libcmis-c/libcmis-c-api.h"
 #include "libcmis-c/types.h"
 
