Code

libcollectdclient: Include "collectd/types.h" instead of "collectd/client.h".
authorFlorian Forster <octo@collectd.org>
Fri, 5 May 2017 13:34:58 +0000 (15:34 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 5 May 2017 13:34:58 +0000 (15:34 +0200)
src/libcollectdclient/collectd/network_buffer.h

index 58cc3c5940b9fd7267c0ae46aa7bed0d8b896237..d66b81556478513795462401c8371bb63f032e78 100644 (file)
@@ -27,9 +27,8 @@
 #ifndef LIBCOLLECTDCLIENT_NETWORK_BUFFER_H
 #define LIBCOLLECTDCLIENT_NETWORK_BUFFER_H 1
 
-/* FIXME */
-#include "collectd/client.h"
-#include "collectd/network.h"
+#include "collectd/network.h" /* for lcc_security_level_t */
+#include "collectd/types.h"
 
 /* Ethernet frame - (IPv6 header + UDP header) */
 #define LCC_NETWORK_BUFFER_SIZE_DEFAULT 1452