Browse Source

Just in case.

Douglas William Thrift 14 years ago
parent
commit
5935808ef4
1 changed files with 4 additions and 0 deletions
  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)
 {