git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ec2ed2
)
Avoid warning about implicit declaration of strlen.
author
Jim Meyering
<jim@meyering.net>
Wed, 13 Apr 2011 09:11:42 +0000
(11:11 +0200)
committer
Richard 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
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index
159862a
..
3894349
100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-26,6
+26,7
@@
#include <inttypes.h>
#include <unistd.h>
#include <assert.h>
+#include <string.h>
#include "ignore-value.h"