cdchange doesn't use off_t, ssize or any fancy types so it shouldn't #include SYS_TYPES. Furthermore if cdio needs it, it should #include it on its own.

This commit is contained in:
rocky
2007-04-15 16:42:23 +00:00
parent 911b3d27fc
commit 3567d2d7da

View File

@@ -1,5 +1,5 @@
/* /*
$Id: cdchange.c,v 1.6 2007/04/15 16:39:18 rocky Exp $ $Id: cdchange.c,v 1.7 2007/04/15 16:42:23 rocky Exp $
Copyright (C) 2005, 2006, 2007 Rocky Bernstein <rocky@gnu.org> Copyright (C) 2005, 2006, 2007 Rocky Bernstein <rocky@gnu.org>
@@ -40,10 +40,6 @@
# include <errno.h> # include <errno.h>
#endif #endif
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#include <cdio/cdio.h> #include <cdio/cdio.h>
int int
main(int argc, const char *argv[]) main(int argc, const char *argv[])