summaryrefslogtreecommitdiff
path: root/stun
diff options
context:
space:
mode:
authorApostolos Syropoulos <asyropoulos@yahoo.com>2011-09-07 20:59:03 -0400
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2011-09-07 21:02:02 -0400
commit69281b35ab3fe3ee5b17276bbb8234b6349cbd41 (patch)
treec9c32b8afcf35ef1897ce17622beb4f02674c689 /stun
parent14f7accdf821c7b5fcee335cc0719a5dfc46f1ac (diff)
Fix support for solaris
Diffstat (limited to 'stun')
-rw-r--r--stun/tools/stund.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stun/tools/stund.c b/stun/tools/stund.c
index f0978f3..86f72cc 100644
--- a/stun/tools/stund.c
+++ b/stun/tools/stund.c
@@ -40,6 +40,10 @@
# include <config.h>
#endif
+#ifdef __sun
+#define _XPG4_2 1
+#endif
+
#ifndef _WIN32
#include <stdio.h>