summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/libhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/netutils/thttpd/libhttpd.h')
-rw-r--r--nuttx/netutils/thttpd/libhttpd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/netutils/thttpd/libhttpd.h b/nuttx/netutils/thttpd/libhttpd.h
index c5829614c..aed4b8194 100644
--- a/nuttx/netutils/thttpd/libhttpd.h
+++ b/nuttx/netutils/thttpd/libhttpd.h
@@ -49,6 +49,9 @@
#include <time.h>
+#include "config.h"
+#ifdef CONFIG_THTTPD
+
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -309,5 +312,6 @@ extern int httpd_read(int fd, const void *buf, size_t nbytes);
extern int httpd_write(int fd, const void *buf, size_t nbytes);
+#endif /* CONFIG_THTTPD */
#endif /* __NETUTILS_THTTPD_LIBHTTPD_H */