Code

virt plugin: Add comment for <libgen.h> include.
authorFlorian Forster <octo@collectd.org>
Fri, 28 Oct 2016 11:43:46 +0000 (13:43 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 28 Oct 2016 11:43:46 +0000 (13:43 +0200)
src/virt.c

index ef55414528b5b88bc16da8cbf1f8158ab9dfef5a..6e1cd2194609c8368e90b7bfbb91b2b99de1effd 100644 (file)
@@ -31,7 +31,7 @@
 #include <libxml/parser.h>
 #include <libxml/tree.h>
 #include <libxml/xpath.h>
-#include <libgen.h>
+#include <libgen.h> /* for basename(3) */
 
 /* Plugin name */
 #define PLUGIN_NAME "virt"