summaryrefslogtreecommitdiff
path: root/sysutils/conky/files/patch-src-freebsd.h
blob: a18216b2f6e2186b7d79bf1b678eb9eaea9336c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/freebsd.h.orig	2010-10-24 03:14:11.000000000 +0300
+++ src/freebsd.h	2010-10-24 03:13:05.000000000 +0300
@@ -9,11 +9,13 @@
 #include <sys/ucred.h>
 #include <fcntl.h>
 #include <kvm.h>
+#include <pthread.h>
 #if (defined(i386) || defined(__i386__))
 #include <machine/apm_bios.h>
 #endif /* i386 || __i386__ */
 
 kvm_t *kd;
+pthread_mutex_t kvm_proc_mutex;
 
 int get_entropy_avail(unsigned int *);
 int get_entropy_poolsize(unsigned int *);