summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-10-08 16:27:00 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-10-08 16:29:24 +0300
commitad4de947b22ae2347a186daaa20254d5e53ac85c (patch)
tree3b5f2b9a11d836a2b5cb854ffc4a4153faa51e53
parent6333495298bc8bf2faa3b2e390e5bb3c005db08f (diff)
downloadillumos-packaging-ad4de947b22ae2347a186daaa20254d5e53ac85c.tar.gz
libc: arpa/nameser.h to include sys/types.h
-rw-r--r--libc/debian/patches/nameser.h-types.patch14
-rw-r--r--libc/debian/patches/series1
2 files changed, 15 insertions, 0 deletions
diff --git a/libc/debian/patches/nameser.h-types.patch b/libc/debian/patches/nameser.h-types.patch
new file mode 100644
index 0000000..c123dca
--- /dev/null
+++ b/libc/debian/patches/nameser.h-types.patch
@@ -0,0 +1,14 @@
+Description: for missing uchar_t
+Bug-Dyson: https://www.osdyson.org/issues/192
+Index: libc/usr/src/head/arpa/nameser.h
+===================================================================
+--- libc.orig/usr/src/head/arpa/nameser.h
++++ libc/usr/src/head/arpa/nameser.h
+@@ -62,6 +62,7 @@
+ #define _ARPA_NAMESER_H
+
+ #include <sys/isa_defs.h>
++#include <sys/types.h>
+
+
+ #ifdef __cplusplus
diff --git a/libc/debian/patches/series b/libc/debian/patches/series
index 0a75e94..b8bb1eb 100644
--- a/libc/debian/patches/series
+++ b/libc/debian/patches/series
@@ -143,3 +143,4 @@ illumos-6993.patch
libc-add-cfsetspeed.patch
libc-math-include-ieeefp.patch
math.h-feature.patch
+nameser.h-types.patch