patch from Albert Chin needed for HP-UX which doesn't have <sys/select.h>
authorDaniel Veillard <veillard@src.gnome.org>
Mon, 21 Nov 2005 11:08:22 +0000 (11:08 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Mon, 21 Nov 2005 11:08:22 +0000 (11:08 +0000)
* libexslt/crypto.c: patch from Albert Chin needed for HP-UX
  which doesn't have <sys/select.h>
Daniel

ChangeLog
libexslt/crypto.c

index ed9773c..138e3a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Nov 21 12:08:05 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+       * libexslt/crypto.c: patch from Albert Chin needed for HP-UX
+         which doesn't have <sys/select.h>
+
 Mon Nov 21 12:05:41 CET 2005 Daniel Veillard <daniel@veillard.com>
 
        * libexslt/date.c: Albert Chin posted a patch to fix a problem on
index 5180101..aac601c 100644 (file)
@@ -317,7 +317,9 @@ exsltCryptoCryptoApiRc4Decrypt (xmlXPathParserContextPtr ctxt,
 #define PLATFORM_MD5 GCRY_MD_MD5
 #define PLATFORM_SHA1 GCRY_MD_SHA1
 
+#ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>                /* needed by gcrypt.h 4 Jul 04 */
+#endif
 #include <gcrypt.h>
 
 static void