summaryrefslogtreecommitdiffstats
path: root/libarchive/archive_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_platform.h')
-rw-r--r--libarchive/archive_platform.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libarchive/archive_platform.h b/libarchive/archive_platform.h
index ce2f482..faeb5ef 100644
--- a/libarchive/archive_platform.h
+++ b/libarchive/archive_platform.h
@@ -66,15 +66,18 @@
* headers as required.
*/
-/* Get a real definition for __FBSDID if we can */
+/* Get a real definition for __FBSDID or __RCSID if we can */
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
-/* If not, define it so as to avoid dangling semicolons. */
+/* If not, define them so as to avoid dangling semicolons. */
#ifndef __FBSDID
#define __FBSDID(a) struct _undefined_hack
#endif
+#ifndef __RCSID
+#define __RCSID(a) struct _undefined_hack
+#endif
/* Try to get standard C99-style integer type definitions. */
#if HAVE_INTTYPES_H