aboutsummaryrefslogtreecommitdiffstats
path: root/net/socks5/files/patch-aa
blob: 6ce05c1b16589e670b026caae4588d3c0bfa9035 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- lib/rld.c.org	Wed Jun 24 22:32:37 1998
+++ lib/rld.c	Wed Jun 24 22:33:11 1998
@@ -114,7 +114,7 @@
 static void GetOriginalFunc(void **fptr, char *name, int libmask) {
     /* Synchronize access to func and lib opening functions if we can...     */
 
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) || __FreeBSD__ < 2
     name++;
 #endif
 
@@ -140,7 +140,7 @@
 static void DGetOriginalFunc(void **fptr, char *name, int libmask) {
     /* Synchronize access to func and lib opening functions if we can...     */
 
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) || __FreeBSD__ < 2
     name++;
 #endif