X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fdaemon%2Fcollectd.h;h=900218742532607d7d3f545d5b06e23c96b107ec;hb=463fb2d44339625aae269e07f2773ee4f158faa8;hp=80b753c8a83442b3e278858a8cb54528bf9868d1;hpb=b4cc5c7399adf79198aea816d44a42df25431d15;p=collectd.git diff --git a/src/daemon/collectd.h b/src/daemon/collectd.h index 80b753c8..90021874 100644 --- a/src/daemon/collectd.h +++ b/src/daemon/collectd.h @@ -95,6 +95,9 @@ # include # endif #endif +#if HAVE_SYS_SOCKET_H +# include +#endif #if HAVE_ASSERT_H # include @@ -291,7 +294,7 @@ typedef int _Bool; # pragma GCC poison strcpy strcat strtok #endif -/* +/* * Special hack for the perl plugin: Because the later included perl.h defines * a macro which is never used, but contains `sprintf', we cannot poison that * identifies just yet. The parl plugin will do that itself once perl.h is