summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar/getdate.y
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2006-03-21 17:03:51 +0000
committerkientzle <kientzle@FreeBSD.org>2006-03-21 17:03:51 +0000
commit2276f34c5fe887ff9ffe16296b723f9b16881154 (patch)
tree95e77682c7792281c3e4dd227adcb76fd79264d6 /usr.bin/tar/getdate.y
parent537ab73b2f9d8cc3e849014fd44738b6a48f6c99 (diff)
downloadFreeBSD-src-2276f34c5fe887ff9ffe16296b723f9b16881154.zip
FreeBSD-src-2276f34c5fe887ff9ffe16296b723f9b16881154.tar.gz
Extended attribute support on write for Linux; FreeBSD hooks are
forthcoming. This commit also has a number of style(9) fixes and minor corrections so the code works better with the build system being used for non-FreeBSD builds. Many thanks to: Jaakko Heinonen, who proposed a mechanism for extended attribute support and implemented both the machine-independent portion and the Linux-specific portion.
Diffstat (limited to 'usr.bin/tar/getdate.y')
-rw-r--r--usr.bin/tar/getdate.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tar/getdate.y b/usr.bin/tar/getdate.y
index e6ca781..b40058c 100644
--- a/usr.bin/tar/getdate.y
+++ b/usr.bin/tar/getdate.y
@@ -23,8 +23,10 @@
/* SUPPRESS 287 on yaccpar_sccsid *//* Unused static variable */
/* SUPPRESS 288 on yyerrlab *//* Label unused */
-#include "bsdtar_platform.h"
+#ifdef __FreeBSD__
+#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
+#endif
#include <ctype.h>
#include <stdio.h>
OpenPOWER on IntegriCloud