diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-06-29 20:51:26 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-06-29 20:51:26 +0000 |
commit | fb8d9e5a065a29db0e43c5e5e0fc54f3767de768 (patch) | |
tree | 9b79f904d1c0d7c0b3db3e0274db9fd72ff440c0 /wiretap | |
parent | bba9576f8040b08ddeadf10595ef5944e8b6e791 (diff) |
define of O_BINARY not needed, if fcntl.h is included
other #include related cleanups
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11272 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/file_access.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index 23ecfd372d..82ea2121a4 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -1,6 +1,6 @@ /* file_access.c * - * $Id: file_access.c,v 1.12 2004/04/28 05:47:33 guy Exp $ + * $Id: file_access.c,v 1.13 2004/06/29 20:46:29 ulfl Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -207,11 +207,6 @@ wtap* wtap_open_offline(const char *filename, int *err, char **err_info, return NULL; } -/* Win32 needs the O_BINARY flag for open() */ -#ifndef O_BINARY -#define O_BINARY 0 -#endif - /* Open the file */ errno = WTAP_ERR_CANT_OPEN; wth->fd = open(filename, O_RDONLY|O_BINARY); |