diff options
author | tv <tv@pkgsrc.org> | 2005-11-04 18:25:33 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-11-04 18:25:33 +0000 |
commit | 7058b33abfb6de8fd673aa2bb32eef3d43ccfa98 (patch) | |
tree | 55a01b14cd219ad6cc681d1fb6184b28fb1716d5 /sysutils/fam | |
parent | dd744146a879c1a47c51aa9ed3a242b4622f683e (diff) | |
download | pkgsrc-7058b33abfb6de8fd673aa2bb32eef3d43ccfa98.tar.gz |
Define INADDR_LOOPBACK on Interix. There's no clear place in a .h file
where this would belong, so keep it here for now.
Diffstat (limited to 'sysutils/fam')
-rw-r--r-- | sysutils/fam/hacks.mk | 10 |
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 |