Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Allow to remove libmicrohttpd (HTTP server)
[src/app-framework-binder.git]
/
src
/
afb-hsrv.h
diff --git
a/src/afb-hsrv.h
b/src/afb-hsrv.h
index
7d496bc
..
c99d026
100644
(file)
--- a/
src/afb-hsrv.h
+++ b/
src/afb-hsrv.h
@@
-18,6
+18,8
@@
#pragma once
+#if WITH_LIBMICROHTTPD
+
struct afb_hsrv;
struct afb_hreq;
struct locale_root;
@@
-35,3
+37,5
@@
extern int afb_hsrv_add_interface(struct afb_hsrv *hsrv, const char *uri);
extern int afb_hsrv_add_interface_tcp(struct afb_hsrv *hsrv, const char *itf, uint16_t port);
extern void afb_hsrv_run(struct afb_hsrv *hsrv);
+
+#endif