Add missing includes.
authorJustus Winter <justus@g10code.com>
Thu, 6 Oct 2016 11:12:28 +0000 (13:12 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 6 Oct 2016 11:12:52 +0000 (13:12 +0200)
* lang/cpp/src/key.cpp: Include <strings.h> for 'strcasecmp'.
* tests/gpg/t-cancel.c: Include <sys/select.h> for 'fd_set' and
friends.

Signed-off-by: Justus Winter <justus@g10code.com>
lang/cpp/src/key.cpp
tests/gpg/t-cancel.c

index df3dc02..4531a2b 100644 (file)
@@ -33,6 +33,7 @@
 #include <gpgme.h>
 
 #include <string.h>
+#include <strings.h>
 #include <istream>
 #include <iterator>
 
index af98af9..16a062a 100644 (file)
@@ -34,6 +34,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <pthread.h>
+#include <sys/select.h>
 
 #include <gpgme.h>