lib: Fix build break on Linux when building with --enable-debug

This commit is contained in:
Charlie Fenton 2014-06-24 04:52:49 -07:00
parent 0734238709
commit 68f0492d69
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ using std::vector;
//#define DEBUG
#ifdef DEBUG
#include <stdio.h>
#endif
static void get_descendants_aux(PROC_MAP& pm, int pid, vector<int>& pids) {
PROC_MAP::iterator i = pm.find(pid);
if (i == pm.end()) return;