From ee674fd0b962c9d51631969a0574ec310bb7c190 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Mon, 28 Dec 2009 02:17:53 +0000 Subject: [PATCH] Discourage people from using this header outside of libarchive. --- lib/libarchive/archive_write_disk_private.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/libarchive/archive_write_disk_private.h b/lib/libarchive/archive_write_disk_private.h index 562229b2e53d..8ec6391e8b91 100644 --- a/lib/libarchive/archive_write_disk_private.h +++ b/lib/libarchive/archive_write_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_WRITE_DISK_PRIVATE_H_INCLUDED #define ARCHIVE_WRITE_DISK_PRIVATE_H_INCLUDED