summaryrefslogtreecommitdiff
path: root/src/client/libmumblelink.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2011-04-23 22:38:25 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:07 +0000
commit06006eb6930de74c577c87daf6a0f7917e22d578 (patch)
tree8caec25df040a3f3eddc99b593e51d993b9be1be /src/client/libmumblelink.c
parent98438cc3e7d32312bb52b413c12698b67b8cfeb0 (diff)
* Merge ioq3-r1946
Diffstat (limited to 'src/client/libmumblelink.c')
-rw-r--r--src/client/libmumblelink.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/libmumblelink.c b/src/client/libmumblelink.c
index 10e90011..25ca6786 100644
--- a/src/client/libmumblelink.c
+++ b/src/client/libmumblelink.c
@@ -26,6 +26,9 @@
#define uint32_t UINT32
#else
#include <unistd.h>
+#ifdef __sun
+#define _POSIX_C_SOURCE 199309L
+#endif
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>