summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-11-02 03:15:25 +0200
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-11-02 03:15:25 +0200
commitbe291a6d9764cf29a7d9a8114d47d9f41ce856e9 (patch)
tree0c6f93a1ec3a89441cfde49c71459baaeb07ed31 /os
parenta2d6242106bb3a440faa9cad157e0120dbfa7b6e (diff)
parent6fdfd9dad91d7b7aa292f8c4d268dd27c34de8d3 (diff)
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
Diffstat (limited to 'os')
-rw-r--r--os/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/utils.c b/os/utils.c
index c7a8964ef..65e131166 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -58,6 +58,8 @@ OR PERFORMANCE OF THIS SOFTWARE.
#ifdef _POSIX_C_SOURCE
#define _SAVED_POSIX_C_SOURCE _POSIX_C_SOURCE
#undef _POSIX_C_SOURCE
+#else if defined(sun) /* Needed to tell Solaris headers not to restrict to */
+#define __EXTENSIONS__ /* only the functions defined in POSIX 199309. */
#endif
#define _POSIX_C_SOURCE 199309L
#include <time.h>