You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
550 B

  1. From e06177a74f1e4314baf17c52f360dabcb78e69cd Mon Sep 17 00:00:00 2001
  2. From: Moritz Warning <moritzwarning@web.de>
  3. Date: Sun, 29 Nov 2020 19:45:36 +0100
  4. Subject: [PATCH 7/8] add cerrno header for (str)errno
  5. Fixes compilation under libcxx.
  6. Signed-off-by: Rosen Penev <rosenp@gmail.com>
  7. ---
  8. osdep/LinuxNetLink.cpp | 2 ++
  9. 1 file changed, 2 insertions(+)
  10. --- a/osdep/LinuxNetLink.cpp
  11. +++ b/osdep/LinuxNetLink.cpp
  12. @@ -22,6 +22,8 @@
  13. #include <unistd.h>
  14. #include <linux/if_tun.h>
  15. +#include <cerrno>
  16. +
  17. #ifndef IFNAMSIZ
  18. #define IFNAMSIZ 16
  19. #endif