diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-01-08 18:10:54 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-01-08 18:10:54 +0400 |
commit | 8e0ad2647a9725f189ad880b437619667e81343c (patch) | |
tree | 1934a226bb7f0c64b11f25e25bff80d866d5924e /include/platform.h | |
parent | 5680e984516fa1fb3c16862fb747206da0edfbed (diff) |
Another FreeBSD fix from Matthias Andree
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/include/platform.h b/include/platform.h index 2899a9093..bd11ad69a 100644 --- a/include/platform.h +++ b/include/platform.h @@ -415,7 +415,7 @@ typedef unsigned smalluint; /* These BSD-derived OSes share many similarities */ #if (defined __digital__ && defined __unix__) \ || defined __APPLE__ \ - || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ + || defined __OpenBSD__ || defined __NetBSD__ # undef HAVE_CLEARENV # undef HAVE_FDATASYNC # undef HAVE_GETLINE @@ -439,9 +439,18 @@ typedef unsigned smalluint; #endif #if defined(__FreeBSD__) -# include <sys/param.h> +# undef HAVE_CLEARENV +# undef HAVE_FDATASYNC +# undef HAVE_MNTENT_H +# undef HAVE_PTSNAME_R +# undef HAVE_SYS_STATFS_H +# undef HAVE_SIGHANDLER_T +# undef HAVE_STRVERSCMP +# undef HAVE_XTABS +# undef HAVE_UNLOCKED_LINE_OPS +# include <osreldate.h> # if __FreeBSD_version < 1000029 -# undef HAVE_STRCHRNUL +# undef HAVE_STRCHRNUL /* FreeBSD added strchrnul() between 1000028 and 1000029 */ # endif #endif |