From b0164d215fe3504b6c9d8059bf1b353d7298328e Mon Sep 17 00:00:00 2001 From: rocky Date: Sun, 13 Jun 2004 20:38:58 +0000 Subject: [PATCH] Move include of glob.h inside conditional Solaris include since that's only where it is needed. configure on cygwin erroneously sets HAVE_GLOB_H and although that too should be fixed, there's no reason to have that failure cause one here. --- lib/_cdio_sunos.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/_cdio_sunos.c b/lib/_cdio_sunos.c index f622f452..759eabe4 100644 --- a/lib/_cdio_sunos.c +++ b/lib/_cdio_sunos.c @@ -1,5 +1,5 @@ /* - $Id: _cdio_sunos.c,v 1.38 2004/06/06 11:44:51 rocky Exp $ + $Id: _cdio_sunos.c,v 1.39 2004/06/13 20:38:58 rocky Exp $ Copyright (C) 2001 Herbert Valerio Riedel Copyright (C) 2002, 2003, 2004 Rocky Bernstein @@ -26,9 +26,6 @@ #ifdef HAVE_STRING_H #include #endif -#ifdef HAVE_GLOB_H -#include -#endif #include #include @@ -41,7 +38,11 @@ #ifdef HAVE_SOLARIS_CDROM -static const char _rcsid[] = "$Id: _cdio_sunos.c,v 1.38 2004/06/06 11:44:51 rocky Exp $"; +static const char _rcsid[] = "$Id: _cdio_sunos.c,v 1.39 2004/06/13 20:38:58 rocky Exp $"; + +#ifdef HAVE_GLOB_H +#include +#endif #include #include