mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-05-21 12:24:29 +02:00
Do not include microhttpd.h if WITH_HTTP_API is disabled
Signed-off-by: Nicholas Jackson <nickajacks1@gmail.com>
This commit is contained in:
parent
534d59797e
commit
fdf1943b1b
|
|
@ -18,6 +18,8 @@ Contributors:
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef WITH_HTTP_API
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <microhttpd.h>
|
||||
|
|
@ -32,8 +34,6 @@ Contributors:
|
|||
#include "mosquitto/mqtt_protocol.h"
|
||||
#include "sys_tree.h"
|
||||
|
||||
#ifdef WITH_HTTP_API
|
||||
|
||||
#ifndef HTTP_API_DIR
|
||||
# define HTTP_API_DIR ""
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue