diff options
author | Brian Cameron <brian.cameron@oracle.com> | 2011-01-16 10:18:50 -0500 |
---|---|---|
committer | Thomas Thurman <tthurman@gnome.org> | 2011-01-16 10:18:50 -0500 |
commit | baeb3d954477ca4e0dbf617d46d970ec6a7d9985 (patch) | |
tree | 871b8b2405a313d1b32c09237c76b9cc55a94c5a /src | |
parent | fbb61a9db6b1806043a4522f7fa3843508113ea3 (diff) | |
download | metacity-baeb3d954477ca4e0dbf617d46d970ec6a7d9985.tar.gz |
Fix build on Solaris. Closes #580665.
This patch fixes two issues on Solaris:
1) It is necessary on Solaris to run PKG_CHECK on gthread-2.0 and add
glib/gthread to METACITY_LIBS in order for metacity to compile. This is
because Solaris doesn't allow implicit linking.
2) src/compositor/compositor-xrender.c- needs _XOPEN_SOURCE_600 or else you
get this error:
#error: "Compiler or options invalid for pre-UNIX 03 X/Open
applications and pre-2001 POSIX applications"
Diffstat (limited to 'src')
-rw-r--r-- | src/compositor/compositor-xrender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c index 8c06d1f7..b79394ae 100644 --- a/src/compositor/compositor-xrender.c +++ b/src/compositor/compositor-xrender.c @@ -22,7 +22,7 @@ */ #define _GNU_SOURCE -#define _XOPEN_SOURCE 500 /* for usleep() */ +#define _XOPEN_SOURCE 600 /* for usleep() */ #include <config.h> |