diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-11-13 00:13:15 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-11-13 00:13:15 -0800 |
commit | 568927a2bce300035cf25e9cd387986f4a72b10c (patch) | |
tree | ae9ef18c30a4fc9a854f36053f9b384ddd26652a /tcpdump.c | |
parent | bfb7669b376344e4a5f0459138284cc305678ccd (diff) | |
download | tcpdump-568927a2bce300035cf25e9cd387986f4a72b10c.tar.gz |
Include <windows.h> to get Windows APIs declared and INVALID_HANDLE defined.
Diffstat (limited to 'tcpdump.c')
-rw-r--r-- | tcpdump.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -97,7 +97,9 @@ The Regents of the University of California. All rights reserved.\n"; #include <stdlib.h> #include <string.h> #include <limits.h> -#ifndef _WIN32 +#ifdef _WIN32 +#include <windows.h> +#else #include <sys/time.h> #include <sys/wait.h> #include <sys/resource.h> |