# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1568756976 0 # Node ID 4bfcad4986ff72e118841b0c4e3c718d227533b3 # Parent d83a86f5fe7f4f1d5892da31e520a0335c9d07bf OS/2: Fix compilation error with Watcom C on OS/2. timespec gets redefined when including sys/time.h diff -r d83a86f5fe7f -r 4bfcad4986ff dwcompat.h --- a/dwcompat.h Mon Sep 16 19:12:39 2019 +0000 +++ b/dwcompat.h Tue Sep 17 21:49:36 2019 +0000 @@ -263,7 +263,9 @@ #include #if !defined(__WIN32__) && !defined(WINNT) +#ifndef __WATCOMC__ #include +#endif #include #include #include