aboutsummaryrefslogtreecommitdiffstats
path: root/main/nss/fix-cdefs_h.patch
blob: 0ddeea76c5484ddf6e5c0867fbc94580473bec25 (plain)
1
2
3
4
5
6
7
8
9
10
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