Simplify use of headers.

pull/2517/head
Roger A. Light 4 years ago
parent 4c72542eae
commit 5fcb2bc13f

@ -64,6 +64,8 @@ extern "C" {
#include <stddef.h>
#include <stdint.h>
#include <mqtt_protocol.h>
#define LIBMOSQUITTO_MAJOR 2
#define LIBMOSQUITTO_MINOR 1
#define LIBMOSQUITTO_REVISION 0

@ -40,6 +40,8 @@ extern "C" {
#include <time.h>
#include <mosquitto.h>
#include <mosquitto_plugin.h>
#include <mqtt_protocol.h>
struct mosquitto;
typedef struct mqtt5__property mosquitto_property;

@ -66,6 +66,8 @@ struct mosquitto_acl_msg {
bool retain;
};
typedef struct mosquitto_plugin_id_t mosquitto_plugin_id_t;
#ifdef WIN32
# define mosq_plugin_EXPORT __declspec(dllexport)
#else

@ -1,4 +1,4 @@
set(CPP_SRC mosquittopp.cpp mosquittopp.h)
set(CPP_SRC mosquittopp.cpp ../../include/mosquittopp.h)
add_library(mosquittopp SHARED
${CPP_SRC}

Loading…
Cancel
Save