aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tar/bsdtar_platform.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2005-11-01 05:53:16 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2005-11-01 05:53:16 +0000
commite8e12ab4e1486d4cfcbab925caff61a625f42231 (patch)
treef9c3ecb5a9a373c6fb8998b63833bdb9706d220f /usr.bin/tar/bsdtar_platform.h
parenta6afb4f5dcc532a14fa44b44ab4fb6ca5c3e33e3 (diff)
Include <sys/param.h> in order to get current __FreeBSD_version
in order to properly set HAVE_NL_LANGINFO. <whew!> Thanks to: Andrey Chernov PR: bin/88013 MFC after: 3 days
Notes
Notes: svn path=/head/; revision=151920
Diffstat (limited to 'usr.bin/tar/bsdtar_platform.h')
-rw-r--r--usr.bin/tar/bsdtar_platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/tar/bsdtar_platform.h b/usr.bin/tar/bsdtar_platform.h
index 57b027bb51d8..5367a143da23 100644
--- a/usr.bin/tar/bsdtar_platform.h
+++ b/usr.bin/tar/bsdtar_platform.h
@@ -40,6 +40,7 @@
#else
#ifdef __FreeBSD__
+#include <sys/param.h> /* __FreeBSD_version */
/* A default configuration for FreeBSD, used if there is no config.h. */
#define PACKAGE_NAME "bsdtar"