Move conio.h from win32.h to mingw.c

We need conio.h to avoid a warning about the implicit declaration
of _getch().  Including it in mingw.c is sufficient.
This commit is contained in:
Steffen Prohaska
2009-06-01 08:15:12 +02:00
parent 3c940ccfb7
commit a464b3e17a
2 changed files with 1 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
#include "../git-compat-util.h"
#include "win32.h"
#include <conio.h>
#include "../strbuf.h"
unsigned int _CRT_fmode = _O_BINARY;

View File

@@ -1,6 +1,5 @@
/* common Win32 functions for MinGW and Cygwin */
#include <windows.h>
#include <conio.h>
static inline int file_attr_to_st_mode (DWORD attr)
{