Check and include config.h so includer's don't.

This commit is contained in:
rocky
2003-09-18 13:40:54 +00:00
parent 09259e044e
commit 8f65e78167
2 changed files with 8 additions and 7 deletions

View File

@@ -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 <hvr@gnu.org>
@@ -23,6 +23,10 @@
#if defined(__GNUC__)
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <cdio/types.h>
#include <cdio/logging.h>

View File

@@ -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 <rocky@panix.com>
@@ -24,11 +24,8 @@
#ifndef __CDIO_PRIVATE_H__
#define __CDIO_PRIVATE_H__
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <cdio/cdio.h>