]> git.meshlink.io Git - catta/blobdiff - src/iface.h
Fix compilation error caused by ACX_THREAD
[catta] / src / iface.h
index 6cadbdd9362228a69d3a1c716c0eab6385b41f6b..303d230cac0524b934cf36490c856906a627d40c 100644 (file)
@@ -42,6 +42,8 @@ typedef struct CattaHwInterface CattaHwInterface;
 #include "iface-linux.h"
 #elif defined(HAVE_PF_ROUTE)
 #include "iface-pfroute.h"
+#elif defined(_WIN32)
+#include "iface-windows.h"
 #else
 typedef struct CattaInterfaceMonitorOSDep CattaInterfaceMonitorOSDep;
 struct CattaInterfaceMonitorOSDep {
@@ -155,7 +157,7 @@ void catta_hw_interface_free(CattaHwInterface *hw, int send_goodbye);
 void catta_hw_interface_update_rrs(CattaHwInterface *hw, int remove_rrs);
 void catta_hw_interface_check_relevant(CattaHwInterface *hw);
 
-CattaHwInterface* catta_interface_monitor_get_hw_interface(CattaInterfaceMonitor *m, int idx);
+CattaHwInterface* catta_interface_monitor_get_hw_interface(CattaInterfaceMonitor *m, CattaIfIndex idx);
 
 /* CattaInterface */