--- dwdiff-2.1.3.old/src/definitions.h +++ dwdiff-2.1.3/src/definitions.h @@ -45,7 +45,9 @@ /* Define a bool type if not already defined (C++ and C99 do)*/ #if !(defined(__cplusplus) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 19990601L)) /*@-incondefs@*/ -typedef enum {false, true} bool; +#define bool int +#define false 0 +#define true 1 /*@+incondefs@*/ #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 19990601L #include --- dwdiff-2.1.3.old/src/option.c +++ dwdiff-2.1.3/src/option.c @@ -14,6 +14,7 @@ #include #include +#include #include "definitions.h" #include "stream.h"