diff --git a/Makefile.Watcom b/Makefile.Watcom index ee31f47d..fddba58e 100644 --- a/Makefile.Watcom +++ b/Makefile.Watcom @@ -41,8 +41,8 @@ MD = mkdir RD = rmdir /q /s 2>NUL CP = copy -CFLAGS = -3r -mf -hc -zff -zgf -zq -zm -zc -s -fr=con -w2 -fpi -oilrtfm -aa & - -wcd=201 -bt=nt -d+ -dWIN32 -dCARES_BUILDING_LIBRARY & +CFLAGS = -3r -mf -hc -zff -zgf -zq -zm -zc -s -fr=con -w2 -fpi -oilrtfm -aa & + -wcd=201 -bt=nt -d+ -dWIN32 -dCARES_BUILDING_LIBRARY & -dNTDDI_VERSION=0x06000000 -I. -I.\include -I.\src\lib $(SYS_INCL) LFLAGS = option quiet, map, caseexact, eliminate diff --git a/src/lib/config-win32.h b/src/lib/config-win32.h index 4ef71cb5..87cb4cbe 100644 --- a/src/lib/config-win32.h +++ b/src/lib/config-win32.h @@ -87,6 +87,12 @@ #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 +/* If we are building with OpenWatcom, we need to specify that we have + * . */ +#if defined(__WATCOMC__) +#define HAVE_STDINT_H +#endif + /* ---------------------------------------------------------------- */ /* OTHER HEADER INFO */ /* ---------------------------------------------------------------- */