summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/tar
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-09-20 14:33:48 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-09-20 14:33:48 +0000
commitb32992bc3f70c922dfc51a2882ec7deae1c7930a (patch)
tree955fec37dc722f08c5881ec830509ab5bf582596 /gnu/usr.bin/tar
parent4fbb44ebc5e686398df948321c871ca39fad8d32 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/tar')
-rw-r--r--gnu/usr.bin/tar/fnmatch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/tar/fnmatch.h b/gnu/usr.bin/tar/fnmatch.h
index d4150a9a9969..ffb21885a946 100644
--- a/gnu/usr.bin/tar/fnmatch.h
+++ b/gnu/usr.bin/tar/fnmatch.h
@@ -23,6 +23,9 @@ Cambridge, MA 02139, USA. */
extern "C" {
#endif
+#ifdef __FreeBSD__
+#include <sys/cdefs.h>
+#else
#if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
#undef __P
#define __P(args) args
@@ -32,6 +35,7 @@ extern "C" {
#undef const
#define const
#endif /* C++ or ANSI C. */
+#endif
/* Bits set in the FLAGS argument to `fnmatch'. */
#ifdef FNM_PATHNAME /* Because it is already defined in <unistd.h> */