Fixed build problems with Uthernet (missing types.h include).

Fixed config.c, should build properly on VC++ and Cygwin.
This commit is contained in:
Christopher Mason 2010-04-15 02:56:31 +00:00
parent 7d5ce87bc6
commit 82e7c863bc
2 changed files with 2 additions and 4 deletions

View File

@ -28,7 +28,7 @@
#include "protos_tfe.h"
#endif
#if defined (WIN32) || (WIN64)
#if defined _MSC_VER
#define snprintf _snprintf
typedef unsigned int mode_t;
#endif
@ -2026,9 +2026,6 @@ cfg_parse_menu(Cfg_menu *menuptr, int menu_pos, int highlight_pos, int change)
char *curstr, *defstr;
char *str;
char *outstr;
#ifdef HAVE_TFE
char *strval;
#endif
int *iptr;
int val;
int num_opts;

View File

@ -38,6 +38,7 @@
#include "..\defc.h"
#include "tfesupp.h"
#include "types.h"
/**/