[svn] gcry - r1403 - in trunk: . src

svn author wk cvs at cvs.gnupg.org
Wed Aug 5 17:02:24 CEST 2009


Author: wk
Date: 2009-08-05 17:02:24 +0200 (Wed, 05 Aug 2009)
New Revision: 1403

Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/src/ChangeLog
   trunk/src/ath.h
Log:
Include sys/msg.h if needed.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-07-09 12:34:46 UTC (rev 1402)
+++ trunk/ChangeLog	2009-08-05 15:02:24 UTC (rev 1403)
@@ -1,3 +1,7 @@
+2009-08-05  Werner Koch  <wk at g10code.com>
+
+	* configure.ac: Test for sys/msg.h.
+
 2009-04-23  Werner Koch  <wk at g10code.com>
 
 	* README: Add a section on build problems.

Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2009-07-09 12:34:46 UTC (rev 1402)
+++ trunk/src/ChangeLog	2009-08-05 15:02:24 UTC (rev 1403)
@@ -1,3 +1,7 @@
+2009-08-05  Werner Koch  <wk at g10code.com>
+
+	* ath.h: Include sys/msg.h.
+
 2009-07-02  Werner Koch  <wk at g10code.com>
 
 	* fips.c (_gcry_initialize_fips_mode): Do not use FIPS mode if

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2009-07-09 12:34:46 UTC (rev 1402)
+++ trunk/configure.ac	2009-08-05 15:02:24 UTC (rev 1403)
@@ -571,7 +571,7 @@
 ##################################
 
 AC_HEADER_STDC
-AC_CHECK_HEADERS(unistd.h sys/select.h)
+AC_CHECK_HEADERS(unistd.h sys/select.h sys/msg.h)
 
 ##########################################
 #### Checks for typedefs, structures, ####

Modified: trunk/src/ath.h
===================================================================
--- trunk/src/ath.h	2009-07-09 12:34:46 UTC (rev 1402)
+++ trunk/src/ath.h	2009-08-05 15:02:24 UTC (rev 1403)
@@ -32,6 +32,9 @@
 #  include <sys/time.h>
 # endif
 # include <sys/types.h>
+# ifdef HAVE_SYS_MSG_H
+#  include <sys/msg.h>  /* (e.g. for zOS) */
+# endif
 # include <sys/socket.h>
 #endif /* !_WIN32 */
 #include <gpg-error.h>




More information about the Gnupg-commits mailing list