Avoid warning about implicit declaration of strlen.
authorJim Meyering <jim@meyering.net>
Wed, 13 Apr 2011 09:11:42 +0000 (11:11 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 13 Apr 2011 11:06:10 +0000 (12:06 +0100)
* src/events.c: Include <string.h>, for use of strlen.

src/events.c

index 159862a..3894349 100644 (file)
@@ -26,6 +26,7 @@
 #include <inttypes.h>
 #include <unistd.h>
 #include <assert.h>
+#include <string.h>
 
 #include "ignore-value.h"