summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/haproxy/patches/patch-include_common_standard.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/net/haproxy/patches/patch-include_common_standard.h b/net/haproxy/patches/patch-include_common_standard.h
deleted file mode 100644
index ce706c164dc..00000000000
--- a/net/haproxy/patches/patch-include_common_standard.h
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-include_common_standard.h,v 1.1 2016/02/01 10:07:56 jperkin Exp $
-
-Fix build on SunOS.
-
---- include/common/standard.h.orig 2015-11-03 10:22:06.000000000 +0000
-+++ include/common/standard.h
-@@ -1004,7 +1004,7 @@ static inline unsigned char utf8_return_
- * the whole code is optimized out. In little endian, with a decent compiler,
- * a few bswap and 2 shifts are left, which is the minimum acceptable.
- */
--#ifndef htonll
-+#if !defined(htonll) && !defined(__sun)
- static inline unsigned long long htonll(unsigned long long a)
- {
- union {
-@@ -1019,7 +1019,7 @@ static inline unsigned long long htonll(
- #endif
-
- /* Turns 64-bit value <a> from network byte order to host byte order. */
--#ifndef ntohll
-+#if !defined(ntohll) && !defined(__sun)
- static inline unsigned long long ntohll(unsigned long long a)
- {
- return htonll(a);