read.h: include sys/types.h since some OS's need it.

cdio-eject.c: no real changes. Add copyright.
This commit is contained in:
rocky
2007-04-15 16:23:58 +00:00
parent 6d72edc346
commit 63f0137d4b
2 changed files with 26 additions and 2 deletions

View File

@@ -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 <rocky@gnu.org>
@@ -33,6 +33,11 @@
#include <cdio/cdio_config.h>
#endif
#ifdef HAVE_SYS_TYPES_H
/* Some systems need this for off_t and ssize. */
#include <sys/types.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */