diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-08-18 18:41:25 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-08-18 18:41:25 +0000 |
commit | 0dd974cca96ba4f8923b85939fd7f34035ecab51 (patch) | |
tree | 5bf4909fb9ce4c5e3ceacc9d869ab2a623c0a908 /util.c | |
parent | c73cd4daabc41e7d6a7d7564b79b6b6854820b78 (diff) |
From Gisle Vanem: MingW declares "rint()" in <math.h> and defines it in
a library, and declares "mode_t" in <sys/types.h>.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8185 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* util.c * Utility routines * - * $Id: util.c,v 1.67 2003/07/11 06:45:59 guy Exp $ + * $Id: util.c,v 1.68 2003/08/18 18:41:24 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -51,8 +51,10 @@ #ifdef HAVE_IO_H #include <io.h> +#ifndef __MINGW32__ typedef int mode_t; /* for win32 */ -#endif +#endif /* __MINGW32__ */ +#endif /* HAVE_IO_H */ #ifdef HAVE_LIBZ #include <zlib.h> /* to get the libz version number */ |