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