Code

perl plugin: Include <stdbool.h> unconditionally.
authorFlorian Forster <octo@collectd.org>
Tue, 6 Dec 2016 10:50:53 +0000 (11:50 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 6 Dec 2016 10:50:57 +0000 (11:50 +0100)
With the autoconf work in dcb67fd746e550f73f4db4db2e2b24ff9788f209,
HAVE_STDBOOL_H will no longer be defined. Since we depend on C99, we can
include this header unconditionally.

src/perl.c

index 71e17977cc9fe104367e52bb206c35f1ebb57091..c79cfd2f93767f60d4fc7f03045f0cb665d7f496 100644 (file)
@@ -38,9 +38,7 @@
 
 #undef DONT_POISON_SPRINTF_YET
 
-#if HAVE_STDBOOL_H
 #include <stdbool.h>
-#endif
 
 #include <EXTERN.h>
 #include <perl.h>