diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-05-16 19:56:27 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-05-16 19:56:27 +0000 |
commit | 36506f2f55bfe3cb132e9dc96b5b21f66879f621 (patch) | |
tree | 0009a35318287936cd26909c96f503ca882c43b7 /dumpcap.c | |
parent | 88fe523c48e18d8e4d6b4a172e52eb2afb5ee6ea (diff) |
#include <conio.h> when compiling under Windows with DEBUG_DUMPCAP defined.
svn path=/trunk/; revision=37187
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -123,6 +123,12 @@ /**#define DEBUG_DUMPCAP**/ /**#define DEBUG_CHILD_DUMPCAP**/ +#ifdef _WIN32 +#ifdef DEBUG_DUMPCAP +#include <conio.h> /* _getch() */ +#endif +#endif + #ifdef DEBUG_CHILD_DUMPCAP FILE *debug_log; /* for logging debug messages to */ /* a file if DEBUG_CHILD_DUMPCAP */ |