aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-10-06 11:12:28 +0000
committerJustus Winter <[email protected]>2016-10-06 11:12:52 +0000
commit857592041b8355cd58a7068c9f2446cf8dc0968f (patch)
tree0127051e8335bc6041ccba9ecef229c12668dbb5
parentcpp: Bump Revision (diff)
downloadgpgme-857592041b8355cd58a7068c9f2446cf8dc0968f.tar.gz
gpgme-857592041b8355cd58a7068c9f2446cf8dc0968f.zip
Add missing includes.
* 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 <[email protected]>
-rw-r--r--lang/cpp/src/key.cpp1
-rw-r--r--tests/gpg/t-cancel.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lang/cpp/src/key.cpp b/lang/cpp/src/key.cpp
index df3dc02c..4531a2bf 100644
--- a/lang/cpp/src/key.cpp
+++ b/lang/cpp/src/key.cpp
@@ -33,6 +33,7 @@
#include <gpgme.h>
#include <string.h>
+#include <strings.h>
#include <istream>
#include <iterator>
diff --git a/tests/gpg/t-cancel.c b/tests/gpg/t-cancel.c
index af98af98..16a062a7 100644
--- a/tests/gpg/t-cancel.c
+++ b/tests/gpg/t-cancel.c
@@ -34,6 +34,7 @@
#include <errno.h>
#include <unistd.h>
#include <pthread.h>
+#include <sys/select.h>
#include <gpgme.h>