]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix 780: MAP_ANON not defined in HP-UX 11.31.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 14 Jun 2016 10:27:34 +0000 (10:27 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 14 Jun 2016 10:27:34 +0000 (10:27 +0000)
git-svn-id: file:///svn/unbound/trunk@3790 be551aaa-1e26-0410-a405-d3ace91eadb9

compat/arc4random.c
compat/getentropy_linux.c
doc/Changelog

index 2c859f18492942e2b62491817ca63fd8f936824a..a09665c5df224b5a7340a647c2197c4b70bf6565 100644 (file)
@@ -48,6 +48,9 @@
 #else                          /* !__GNUC__ */
 #define inline
 #endif                         /* !__GNUC__ */
+#ifndef MAP_ANON
+#define MAP_ANON MAP_ANONYMOUS
+#endif
 
 #define KEYSZ  32
 #define IVSZ   8
index f8c5e0f7ee59b168b283d4d376cdcc8d5311f0ed..b86c0fba2a1f9205c282d66e6ca07c9b25f8cdd2 100644 (file)
@@ -60,6 +60,9 @@
 #include <sys/auxv.h>
 #endif
 #include <sys/vfs.h>
+#ifndef MAP_ANON
+#define MAP_ANON MAP_ANONYMOUS
+#endif
 
 #define REPEAT 5
 #define min(a, b) (((a) < (b)) ? (a) : (b))
index 2f289cae4b56b3769954e5dad6f7250e92af0a6f..aad850caec38cd032d7121bd744337a9a1eb6d11 100644 (file)
@@ -3,7 +3,8 @@
          null delete for wsaevent.
        - Fix spelling in freebind option man page text.
        - Fix windows link of ssl with crypt32.
-       - Fix 779:  Union casting is non-portable.
+       - Fix 779: Union casting is non-portable.
+       - Fix 780: MAP_ANON not defined in HP-UX 11.31.
 
 13 June 2016: Ralph
        - Use QTYPE=A for QNAME minimisation.