summaryrefslogtreecommitdiff
path: root/net/radius/files/patch-funcs.c
blob: 1e230c83bef7120cdefccb69378a9bbee0dc2d3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/funcs.c.orig	Sun Aug 26 03:03:53 2001
+++ src/funcs.c	Sun Aug 26 03:14:07 2001
@@ -8333,9 +8333,9 @@
 			return 1;
 		}
 
-/*The following two lines do not compile on Solaris or Linux or BSDI. */
-#if !(defined(sys5) || defined(linux) || defined (BSDI))
 		close (fileno(fp));
+/*The following two lines do not compile on Solaris or Linux or BSDI. */
+#if !(defined(sys5) || defined(linux) || defined (BSDI) || defined (__FreeBSD__))
 		fileno(fp) = STDERR_FILENO;
 #endif	/* sys5 */