diff --git a/example/cdio-eject.c b/example/cdio-eject.c index deb48914..0f8f23ce 100644 --- a/example/cdio-eject.c +++ b/example/cdio-eject.c @@ -1,6 +1,25 @@ +/* -*- c -*- + $Id: cdio-eject.c,v 1.2 2007/04/15 16:23:58 rocky Exp $ + Copyright (C) 2007 Rocky Bernstein + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +#include #include #include -#include static void usage(char * progname) { diff --git a/include/cdio/read.h b/include/cdio/read.h index af9b6226..2788ddfc 100644 --- a/include/cdio/read.h +++ b/include/cdio/read.h @@ -1,5 +1,5 @@ /* -*- c -*- - $Id: read.h,v 1.13 2007/03/16 15:32:48 rocky Exp $ + $Id: read.h,v 1.14 2007/04/15 16:23:58 rocky Exp $ Copyright (C) 2005, 2006, 2007 Rocky Bernstein @@ -33,6 +33,11 @@ #include #endif +#ifdef HAVE_SYS_TYPES_H +/* Some systems need this for off_t and ssize. */ +#include +#endif + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */