#include <conio.h> when compiling under Windows with DEBUG_DUMPCAP defined.

svn path=/trunk/; revision=37187
This commit is contained in:
Chris Maynard 2011-05-16 19:56:27 +00:00
parent 88fe523c48
commit 36506f2f55
1 changed files with 6 additions and 0 deletions

View File

@ -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 */