On at least some platforms, a #define of O_BINARY is needed even if
[obnox/wireshark/wip.git] / gtk / rtp_analysis.c
index 9654cf96f74e441dbbe4cd61d1196288896c6450..591bede7d8604de589cc2786d4e6cd741e9c2a91 100644 (file)
@@ -1,7 +1,7 @@
 /* rtp_analysis.c
  * RTP analysis addition for ethereal
  *
- * $Id: rtp_analysis.c,v 1.46 2004/06/29 20:46:28 ulfl Exp $
+ * $Id: rtp_analysis.c,v 1.47 2004/06/30 06:58:58 guy Exp $
  *
  * Copyright 2003, Alcatel Business Systems
  * By Lars Ruoff <lars.ruoff@gmx.net>
 #include <io.h> /* open/close on win32 */
 #endif
 
+/* Win32 needs the O_BINARY flag for open() */
+#ifndef O_BINARY
+#define O_BINARY 0
+#endif
+
 /****************************************************************************/
 
 typedef struct column_arrows {