summaryrefslogtreecommitdiff
path: root/examples/plugins/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plugins/example.c')
-rw-r--r--examples/plugins/example.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/plugins/example.c b/examples/plugins/example.c
index 1783a82eba..3b721f9c98 100644
--- a/examples/plugins/example.c
+++ b/examples/plugins/example.c
@@ -20,6 +20,7 @@
/* First, include the header file for the plugin, to bring in the
* object definition and other useful things.
*/
+#include <string.h>
#include "example.h"
/* The ElementDetails structure gives a human-readable description