summaryrefslogtreecommitdiff
path: root/src/client/libmumblelink.c
diff options
context:
space:
mode:
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>