summaryrefslogtreecommitdiff
path: root/net/linphone-base/files/patch-oRTP-src_stun.c
blob: 68ce7543775cf897c70aae10cc6ea10ee10e2899 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- oRTP/src/stun.c.orig	2008-06-24 14:21:05.000000000 +0000
+++ oRTP/src/stun.c	2008-06-24 14:21:47.000000000 +0000
@@ -770,7 +770,7 @@
       asm("rdtsc" : "=A" (tick));
 #elif defined (__SUNPRO_CC) && defined( __sparc__ )	
       tick = gethrtime();
-#elif defined(__MACH__) 
+#elif defined(__MACH__) || defined(__sparc64__)
       {
 	int fd=open("/dev/random",O_RDONLY);
 	read(fd,&tick,sizeof(tick));