summaryrefslogtreecommitdiff
path: root/archivers/libarchive/files/tar/bsdtar_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/libarchive/files/tar/bsdtar_platform.h')
-rw-r--r--archivers/libarchive/files/tar/bsdtar_platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/archivers/libarchive/files/tar/bsdtar_platform.h b/archivers/libarchive/files/tar/bsdtar_platform.h
index 707abcbda20..66852ca7525 100644
--- a/archivers/libarchive/files/tar/bsdtar_platform.h
+++ b/archivers/libarchive/files/tar/bsdtar_platform.h
@@ -49,7 +49,8 @@
#ifdef __FreeBSD__
#include <sys/cdefs.h> /* For __FBSDID */
#else
-#define __FBSDID(a) /* null */
+/* Just leaving this macro replacement empty leads to a dangling semicolon. */
+#define __FBSDID(a) struct _undefined_hack
#endif
#ifdef HAVE_LIBARCHIVE