Include <io.h>, if present, to get "_open()", "_close()", etc. declared.
svn path=/trunk/; revision=7312
This commit is contained in:
parent
723612fe3e
commit
fb65eca073
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* tap_rtp.c
|
||||
*
|
||||
* $Id: tap_rtp.c,v 1.5 2003/03/07 01:18:21 jmayer Exp $
|
||||
* $Id: tap_rtp.c,v 1.6 2003/03/07 19:47:07 guy Exp $
|
||||
*
|
||||
* RTP analysing addition for ethereal
|
||||
*
|
||||
|
@ -121,6 +121,10 @@
|
|||
#endif
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifdef HAVE_IO_H
|
||||
#include <io.h> /* open/close on win32 */
|
||||
#endif
|
||||
|
||||
#ifndef O_BINARY
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue