summaryrefslogtreecommitdiff
path: root/libparse/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libparse/Makefile.am')
-rw-r--r--libparse/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/libparse/Makefile.am b/libparse/Makefile.am
index 41528a76bd79..8fb089f7717f 100644
--- a/libparse/Makefile.am
+++ b/libparse/Makefile.am
@@ -164,9 +164,11 @@ parse: $(parsesolaris_OBJECTS) libparse_kernel.a ../libntp/libntp.a
parsesolaris.o: sys/systm.h
+# [Bug3608] Solaris has inconsistent definitions of ffs() and fls(). Drop the
+# ones from 'systm.h'.
sys/systm.h:
-mkdir sys
- sed -e '/ffs(.*)/d' < /usr/include/sys/systm.h > sys/systm.h
+ sed -e '/f[fl]s(.*)/d' < /usr/include/sys/systm.h > sys/systm.h
## check-libparse is invoked by ntpd/Makefile.am
check-libparse: $(noinst_LIBRARIES)