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:
@@ -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[])
|
||||||
|
|||||||
Reference in New Issue
Block a user