Douglas William Thrift 14 lat temu
rodzic
commit
5935808ef4
1 zmienionych plików z 4 dodań i 0 usunięć
  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)
 {