diff options
author | Gianluca Varenni <gianluca.varenni@gmail.com> | 2010-10-15 01:42:59 -0700 |
---|---|---|
committer | Gianluca Varenni <gianluca.varenni@gmail.com> | 2010-10-15 01:42:59 -0700 |
commit | cc1a80e41edebdf636deb1df98d3b2640407e3b3 (patch) | |
tree | 415620391a77f90841333d5931968ef7badfbfa9 /pcap.c | |
parent | 4d7214cbc5dcc8e9635f99c13367dea37eddda0f (diff) |
Fixes to compile WinPcap under MINGW32 and MINGW64.
Diffstat (limited to 'pcap.c')
-rw-r--r-- | pcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ static const char rcsid[] _U_ = #include <stdio.h> #include <stdlib.h> #include <string.h> -#if !defined(_MSC_VER) && !defined(__BORLANDC__) +#if !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__MINGW32__) #include <unistd.h> #endif #include <fcntl.h> |