summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>2015-05-25 04:30:29 -0700
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>2015-05-25 04:30:29 -0700
commit2dc2c38fb530c717b1944c93a889e4deff61b7f9 (patch)
tree6ee3315e38e0a58b63ae2a840d635174aa343d3d
parent70cf8acf06705097b009a488994b526832b0ef66 (diff)
downloadxorg-proto-x11proto-2dc2c38fb530c717b1944c93a889e4deff61b7f9.tar.gz
darwin: Include strings.h
https://trac.macports.org/ticket/47813 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
-rw-r--r--Xfuncs.h2
-rw-r--r--Xos.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Xfuncs.h b/Xfuncs.h
index 469bb48..b7c4029 100644
--- a/Xfuncs.h
+++ b/Xfuncs.h
@@ -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__) || defined(__CYGWIN__) || defined(_AIX)
+# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__)
# include <strings.h>
# endif
# define _XFUNCS_H_INCLUDED_STRING_H
diff --git a/Xos.h b/Xos.h
index 7e53946..28dfc67 100644
--- a/Xos.h
+++ b/Xos.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) || defined(__CYGWIN__) || defined(_AIX)
+# if defined(__SCO__) || defined(__UNIXWARE__) || defined(__sun) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__)
# include <strings.h>
# else
# ifndef index