diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-03-07 19:47:07 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-03-07 19:47:07 +0000 |
commit | fb65eca073bc7653fae59b77223684f364e21743 (patch) | |
tree | 5f7b0b87fe9983518dd2829da97b600ec7d87794 | |
parent | 723612fe3e94ca93e9765aa5e84979a00788e7a7 (diff) |
Include <io.h>, if present, to get "_open()", "_close()", etc. declared.
svn path=/trunk/; revision=7312
-rw-r--r-- | gtk/tap_rtp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/tap_rtp.c b/gtk/tap_rtp.c index 7dbe00a801..99126ea1d6 100644 --- a/gtk/tap_rtp.c +++ b/gtk/tap_rtp.c @@ -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 |