dav/webdav.h

changeset 27
e584c351b402
parent 26
146171b57e69
child 29
938957a4eea7
--- a/dav/webdav.h	Tue Aug 20 11:34:44 2013 +0200
+++ b/dav/webdav.h	Wed Aug 21 13:08:22 2013 +0200
@@ -26,8 +26,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef NODE_H
-#define	NODE_H
+#ifndef WEBDAV_H
+#define	WEBDAV_H
 
 #include <inttypes.h>
 #include <ucx/map.h>
@@ -36,7 +36,6 @@
 #include <ucx/buffer.h>
 #include <curl/curl.h>
 #include <libxml/tree.h>
-#include "davql.h"
 
 #ifdef	__cplusplus
 extern "C" {
@@ -50,6 +49,8 @@
 typedef struct DavNodeData   DavNodeData;
 typedef struct DavProperty   DavProperty;
 
+#include "davql.h"
+
 typedef size_t(*dav_read_func)(void*, size_t, size_t, void*);
 typedef size_t(*dav_write_func)(const void*, size_t, size_t, void*);
 
@@ -199,5 +200,5 @@
 }
 #endif
 
-#endif	/* NODE_H */
+#endif	/* WEBDAV_H */
 

mercurial