Include header for prototype of handle_putnotif
[collectd.git] / src / utils_cmd_putnotif.c
index f8e734d..ec91419 100644 (file)
@@ -24,6 +24,7 @@
 #include "plugin.h"
 
 #include "utils_parse_option.h"
+#include "utils_cmd_putnotif.h"
 
 #define print_to_socket(fh, ...) \
   do { \
@@ -34,7 +35,7 @@
       return -1; \
     } \
     fflush(fh); \
-  } while (0);
+  } while (0)
 
 static int set_option_severity (notification_t *n, const char *value)
 {