# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1327687389 0 # Node ID 0576c544458763ca139e7a7c14ee6505413a63cb # Parent 1fb62c442283e0f8e98faf64ac60bb924ba8db1e Oops fallback dwstat didn't work quite right in that last commit. diff -r 1fb62c442283 -r 0576c5444587 compat.h --- a/compat.h Fri Jan 27 17:58:04 2012 +0000 +++ b/compat.h Fri Jan 27 18:03:09 2012 +0000 @@ -152,7 +152,6 @@ #else #include #include -#define dwstat stat #endif #include @@ -333,6 +332,11 @@ typedef int socklen_t; #endif +/* If dwstat didn't otherwise get defined */ +#ifndef dwstat +#define dwstat stat +#endif + #define socksprint(a, b) sockwrite(a, b, strlen(b), 0) char * API vargs(char *buf, int len, char *format, ...);