Fixing build on OSx
This commit is contained in:
@@ -160,7 +160,7 @@ void NethogsMonitor::handleUpdate()
|
|||||||
NethogsAppUpdate &data = it->second;
|
NethogsAppUpdate &data = it->second;
|
||||||
data.action = NethogsAppUpdate::Remove;
|
data.action = NethogsAppUpdate::Remove;
|
||||||
monitor_udpate_callback(data);
|
monitor_udpate_callback(data);
|
||||||
monitor_update_data.erase(it);
|
monitor_update_data.erase(curproc->getVal()->pid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#define LIBNETHOGS_H_
|
#define LIBNETHOGS_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#define NETHOGS_DSO_VISIBLE __attribute__ ((visibility ("default")))
|
#define NETHOGS_DSO_VISIBLE __attribute__ ((visibility ("default")))
|
||||||
|
|||||||
Reference in New Issue
Block a user