GnuPG 1.9.92 build failures on old Linux

Werner Koch wk at gnupg.org
Thu Oct 12 17:52:14 CEST 2006


On Wed, 11 Oct 2006 20:18, Alain Guibert said:

> | In file included from apdu.c:37:
> | /usr/include/unistd.h:656: conflicting types for `pth_usleep'
> | /usr/local/include/pth.h:531: previous declaration of `pth_usleep'


Please try this:


--- scd/apdu.c  (revision 4295)
+++ scd/apdu.c  (working copy)
@@ -33,9 +33,9 @@
 #include <assert.h>
 #include <signal.h>
 #ifdef USE_GNU_PTH
-# include <pth.h>
 # include <unistd.h>
 # include <fcntl.h>
+# include <pth.h>
 #endif
 



Salam-Shalom,

   Werner

 




More information about the Gnupg-devel mailing list