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>
|
||||
|
||||
@@ -40,10 +40,6 @@
|
||||
# include <errno.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#include <cdio/cdio.h>
|
||||
int
|
||||
main(int argc, const char *argv[])
|
||||
|
||||
Reference in New Issue
Block a user