summaryrefslogtreecommitdiff
path: root/sysutils/fam
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/fam')
-rw-r--r--sysutils/fam/hacks.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/fam/hacks.mk b/sysutils/fam/hacks.mk
new file mode 100644
index 00000000000..079ca66ab3b
--- /dev/null
+++ b/sysutils/fam/hacks.mk
@@ -0,0 +1,10 @@
+# $NetBSD: hacks.mk,v 1.1 2005/11/04 18:25:33 tv Exp $
+
+###
+### Interix doesn't have this constant. There's no clear place to insert
+### it into the source headers, so keep it here for now.
+###
+.if ${OPSYS} == "Interix"
+PKG_HACKS+= inaddr-loopback-constant
+CPPFLAGS+= -DINADDR_LOOPBACK=0x7F000001UL
+.endif