summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-30 18:20:23 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:30:23 +0100
commitc968e76f967f19830e4eca83c555fc05ae31ca1b (patch)
treed0e342e1e35d9b14ca72351e1ee817f6a18f711f
parent3e4b2571a2908ac6a4bd8c48e985ad8d8fd009cb (diff)
ssl_verify: include <string.h>
ssl_verify.c is using memcmp which comes from string.h, this was breaking compilation with -Werror -Wall on Mac OS X
-rw-r--r--common/ssl_verify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/ssl_verify.c b/common/ssl_verify.c
index 603d0f3..6e8f102 100644
--- a/common/ssl_verify.c
+++ b/common/ssl_verify.c
@@ -29,6 +29,7 @@
#include <arpa/inet.h>
#endif
#include <ctype.h>
+#include <string.h>
#ifndef SPICE_DEBUG
# define SPICE_DEBUG(format, ...)