diff --git a/main.h b/main.h index 61c0b31..29b1215 100644 --- a/main.h +++ b/main.h @@ -26,6 +26,7 @@ #include #include #include +#include /* Define this to enable DEBUG build */ /*#define DEBUG */ @@ -64,11 +65,6 @@ #define MSGF_OVPN_WAIT (MSGF_USER + 1) -/* bool definitions */ -#define bool int -#define true 1 -#define false 0 - /* GCC function attributes */ #ifdef _MSC_VER #define UNUSED diff --git a/service.c b/service.c index 0508e16..40b724f 100644 --- a/service.c +++ b/service.c @@ -38,7 +38,7 @@ extern options_t o; -bool +BOOL CheckIServiceStatus(BOOL warn) { SC_HANDLE schSCManager = NULL;