summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2005-11-01 05:53:16 +0000
committerkientzle <kientzle@FreeBSD.org>2005-11-01 05:53:16 +0000
commit2c6448ce6d1851408401481a4065f52658916af4 (patch)
treef9c3ecb5a9a373c6fb8998b63833bdb9706d220f /usr.bin/tar
parentc0fd1c0f79d9fd10da1eca801a193d1b8559ec53 (diff)
downloadFreeBSD-src-2c6448ce6d1851408401481a4065f52658916af4.zip
FreeBSD-src-2c6448ce6d1851408401481a4065f52658916af4.tar.gz
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
Diffstat (limited to 'usr.bin/tar')
-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 57b027b..5367a14 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"
OpenPOWER on IntegriCloud