summaryrefslogtreecommitdiffstats
path: root/main/freeradius/freeradius-2.1.6-nothreads.patch
blob: 41a41c8d6e21ea35c3307143f45b19c31dbffcff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -Nru freeradius-server-2.1.6.orig/src/main/event.c freeradius-server-2.1.6/src/main/event.c
--- freeradius-server-2.1.6.orig/src/main/event.c	2009-05-18 13:13:55.000000000 +0200
+++ freeradius-server-2.1.6/src/main/event.c	2009-09-05 07:52:42.000000000 +0200
@@ -1667,7 +1667,9 @@
 	 */
 	request->num_proxied_requests = 1;
 	request->num_proxied_responses = 0;
+#ifdef HAVE_PTHREAD_H
 	request->child_pid = NO_SUCH_CHILD_PID;
+#endif
 
 	update_event_timestamp(request->proxy, request->proxy_when.tv_sec);