Browse Source

Just in case.

Douglas William Thrift 14 năm trước cách đây
mục cha
commit
5935808ef4
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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)
 {