Browse Source

LinuxNetLink: Add cerrno header for (str)errno

Fixes compilation under libcxx.
Rosen Penev 5 years ago
parent
commit
2aecb547d9
1 changed files with 2 additions and 0 deletions
  1. 2 0
      osdep/LinuxNetLink.cpp

+ 2 - 0
osdep/LinuxNetLink.cpp

@@ -13,6 +13,8 @@
 
 #include "../node/Constants.hpp"
 
+#include <cerrno>
+
 //#define ZT_NETLINK_TRACE
 
 #ifdef __LINUX__