summaryrefslogtreecommitdiff
path: root/nanoftp.h
diff options
context:
space:
mode:
Diffstat (limited to 'nanoftp.h')
-rw-r--r--nanoftp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nanoftp.h b/nanoftp.h
index 0a41b975..53465280 100644
--- a/nanoftp.h
+++ b/nanoftp.h
@@ -8,6 +8,10 @@
#ifndef __NANO_FTP_H__
#define __NANO_FTP_H__
+
+#include <libxml/xmlversion.h>
+#ifdef LIBXML_FTP_ENABLED
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -101,5 +105,6 @@ int xmlNanoFTPRead (void *ctx,
#ifdef __cplusplus
}
+#endif /* LIBXML_FTP_ENABLED */
#endif
#endif /* __NANO_FTP_H__ */