aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss/fix-cdefs_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/nss/fix-cdefs_h.patch')
-rw-r--r--main/nss/fix-cdefs_h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/nss/fix-cdefs_h.patch b/main/nss/fix-cdefs_h.patch
new file mode 100644
index 0000000000..0ddeea76c5
--- /dev/null
+++ b/main/nss/fix-cdefs_h.patch
@@ -0,0 +1,11 @@
+--- nss-3.15.1/nss/lib/dbm/config/config.mk.orig
++++ nss-3.15.1/nss/lib/dbm/config/config.mk
+@@ -25,7 +25,7 @@
+ DEFINES += -DHAVE_SNPRINTF
+ endif
+
+-ifeq (,$(filter-out IRIX Linux,$(OS_TARGET)))
++ifneq ($(wildcard /usr/include/sys/cdefs.h),)
+ DEFINES += -DHAVE_SYS_CDEFS_H
+ endif
+