Explorar o código

Just in case.

Douglas William Thrift %!s(int64=14) %!d(string=hai) anos
pai
achega
5935808ef4
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      dtpstree.cpp

+ 4 - 0
dtpstree.cpp

@@ -88,6 +88,10 @@ typedef kinfo_proc Proc;
 
 const int Flags(O_RDONLY);
 
+#ifndef KERN_PROC_PROC
+#define KERN_PROC_PROC KERN_PROC_ALL
+#endif
+
 template <>
 inline kinfo_proc *getprocs(kvm_t *kd, int &count)
 {