From 354c05f65d073ac07e3f4dfd4e7f4264c3364407 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Mon, 28 Dec 2009 03:20:54 +0000 Subject: [PATCH] Discourage external use of this header. --- lib/libarchive/archive_read_disk_private.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libarchive/archive_read_disk_private.h b/lib/libarchive/archive_read_disk_private.h index fd385a6b77e6..3e8884b613c7 100644 --- a/lib/libarchive/archive_read_disk_private.h +++ b/lib/libarchive/archive_read_disk_private.h @@ -26,6 +26,10 @@ * $FreeBSD$ */ +#ifndef __LIBARCHIVE_BUILD +#error This header is only to be used internally to libarchive. +#endif + #ifndef ARCHIVE_READ_DISK_PRIVATE_H_INCLUDED #define ARCHIVE_READ_DISK_PRIVATE_H_INCLUDED