projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
443be7f
)
Added missing include of 'config.h'
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Mon, 21 May 2018 03:38:51 +0000
(10:38 +0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Mon, 21 May 2018 03:38:51 +0000
(10:38 +0700)
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
src/libcollectdclient/collectd/network_buffer.h
patch
|
blob
|
history
diff --git
a/src/libcollectdclient/collectd/network_buffer.h
b/src/libcollectdclient/collectd/network_buffer.h
index
d66b815
..
ed8ab51
100644
(file)
--- 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"