From: Pavel Rochnyack Date: Mon, 21 May 2018 03:38:51 +0000 (+0700) Subject: Added missing include of 'config.h' X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=51086be146a1990448198ad71157c9d4d20aa245;p=collectd.git Added missing include of 'config.h' This adressed to solve compilation issue on Solaris platform: In file included from src/libcollectdclient/network_parse.c:26:0, from src/libcollectdclient/network_parse_test.c:32: ./src/config.h:1517:0: error: "_FILE_OFFSET_BITS" redefined --- diff --git a/src/libcollectdclient/collectd/network_buffer.h b/src/libcollectdclient/collectd/network_buffer.h index d66b8155..ed8ab517 100644 --- a/src/libcollectdclient/collectd/network_buffer.h +++ b/src/libcollectdclient/collectd/network_buffer.h @@ -27,6 +27,8 @@ #ifndef LIBCOLLECTDCLIENT_NETWORK_BUFFER_H #define LIBCOLLECTDCLIENT_NETWORK_BUFFER_H 1 +#include "config.h" + #include "collectd/network.h" /* for lcc_security_level_t */ #include "collectd/types.h"