From 8f65e7816799dc8ffaa71b16aeee35e6c92b2da5 Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 18 Sep 2003 13:40:54 +0000 Subject: [PATCH] Check and include config.h so includer's don't. --- lib/cdio_assert.h | 6 +++++- lib/cdio_private.h | 9 +++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/cdio_assert.h b/lib/cdio_assert.h index 09d7c479..a885da41 100644 --- a/lib/cdio_assert.h +++ b/lib/cdio_assert.h @@ -1,5 +1,5 @@ /* - $Id: cdio_assert.h,v 1.3 2003/04/22 12:09:09 rocky Exp $ + $Id: cdio_assert.h,v 1.4 2003/09/18 13:40:54 rocky Exp $ Copyright (C) 2000 Herbert Valerio Riedel @@ -23,6 +23,10 @@ #if defined(__GNUC__) +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include diff --git a/lib/cdio_private.h b/lib/cdio_private.h index 3dcf1a44..f6e9b6e1 100644 --- a/lib/cdio_private.h +++ b/lib/cdio_private.h @@ -1,5 +1,5 @@ /* - $Id: cdio_private.h,v 1.11 2003/06/22 22:41:29 rocky Exp $ + $Id: cdio_private.h,v 1.12 2003/09/18 13:40:54 rocky Exp $ Copyright (C) 2003 Rocky Bernstein @@ -24,11 +24,8 @@ #ifndef __CDIO_PRIVATE_H__ #define __CDIO_PRIVATE_H__ -#ifdef HAVE_SYS_TYPES_H -#include -#endif -#ifdef HAVE_UNISTD_H -#include +#ifdef HAVE_CONFIG_H +# include "config.h" #endif #include