[Pkg-gnupg-commit] [gpgme] 24/53: Add missing includes.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Oct 24 19:26:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gpgme.

commit 857592041b8355cd58a7068c9f2446cf8dc0968f
Author: Justus Winter <justus at g10code.com>
Date:   Thu Oct 6 13:12:28 2016 +0200

    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 <justus at g10code.com>
---
 lang/cpp/src/key.cpp | 1 +
 tests/gpg/t-cancel.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lang/cpp/src/key.cpp b/lang/cpp/src/key.cpp
index df3dc02..4531a2b 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 af98af9..16a062a 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>
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git



More information about the Pkg-gnupg-commit mailing list