diff options
Diffstat (limited to 'src/afb-hswitch.c')
-rw-r--r-- | src/afb-hswitch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/afb-hswitch.c b/src/afb-hswitch.c index b4692bc5..604815af 100644 --- a/src/afb-hswitch.c +++ b/src/afb-hswitch.c @@ -16,6 +16,8 @@ * limitations under the License. */ +#if WITH_LIBMICROHTTPD + #define _GNU_SOURCE #include <stdlib.h> @@ -109,4 +111,4 @@ int afb_hswitch_websocket_switch(struct afb_hreq *hreq, void *data) return afb_websock_check_upgrade(hreq, apiset); } - +#endif |