diff options
author | Yaakov Selkowitz <yselkowitz@users.sourceforge.net> | 2011-11-14 17:22:30 -0600 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-11-21 19:55:25 -0800 |
commit | 7f26709e4bda1154287c27d57cb22465fa815380 (patch) | |
tree | 456d20c26b5ea1d398f32473b843fbe346a62df4 | |
parent | 3d7be5c61b991a3b33526546acda2ab663cdc1d5 (diff) |
Cygwin/X: Include <strings.h> early to avoid compile errors
http://lists.x.org/archives/xorg-devel/2011-November/027117.html
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | Xfuncs.h | 2 | ||||
-rw-r--r-- | Xos.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -44,7 +44,7 @@ void bcopy(); # define bcmp(b1,b2,len) memcmp(b1, b2, len) # else # include <string.h> -# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) +# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__) # include <strings.h> # endif # define _XFUNCS_H_INCLUDED_STRING_H @@ -60,7 +60,7 @@ in this Software without prior written authorization from The Open Group. */ # include <string.h> -# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) +# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) # include <strings.h> # else # ifndef index |