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-websock.c
diff --git
a/src/afb-websock.c
b/src/afb-websock.c
index
73bb3c5
..
9e121c1
100644
(file)
--- a/
src/afb-websock.c
+++ b/
src/afb-websock.c
@@
-15,6
+15,8
@@
* limitations under the License.
*/
+#if WITH_LIBMICROHTTPD
+
#define _GNU_SOURCE
#include <stdlib.h>
@@
-255,3
+257,4
@@
int afb_websock_check_upgrade(struct afb_hreq *hreq, struct afb_apiset *apiset)
return rc;
}
+#endif