From 3b774399a7c3777b6ae28d6ec85c2a23ee3e6f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Fri, 29 Feb 2008 14:40:58 +0000 Subject: make inclusion of headers conditional --- rpm5compat.h | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'rpm5compat.h') diff --git a/rpm5compat.h b/rpm5compat.h index 2a49264..bfc317d 100644 --- a/rpm5compat.h +++ b/rpm5compat.h @@ -1,20 +1,27 @@ -/* - * Copyright (c) 2008 Per Øyvind Karlsen - * - * $Id: rpm5compat.h 237744 2008-02-28 17:15:00Z peroyvind $ - * - */ #define RPM_NULL_TYPE 0 #define RPM_CHAR_TYPE RPM_UINT8_TYPE #define RPM_INT8_TYPE RPM_UINT8_TYPE #define RPM_INT16_TYPE RPM_UINT16_TYPE #define RPM_INT32_TYPE RPM_UINT32_TYPE +#ifndef H_RPMEVR +#include +#endif +#ifndef H_RPMIO #include +#endif +#ifndef _H_PKGIO #include +#endif +#ifndef H_RPMCB #include +#endif +#ifndef H_RPMTS #include +#endif +#ifndef _H_MACRO_ #include +#endif enum hMagic { HEADER_MAGIC_NO = 0, -- cgit v1.2.1