Skip to content

Instantly share code, notes, and snippets.

@grahamperrin
Created September 5, 2019 04:47
Show Gist options
  • Save grahamperrin/b8ac515b57a52a9aaa00d6ecf268fe81 to your computer and use it in GitHub Desktop.
Save grahamperrin/b8ac515b57a52a9aaa00d6ecf268fe81 to your computer and use it in GitHub Desktop.
--- media/mtransport/third_party/nICEr/src/stun/stun.h
+++ media/mtransport/third_party/nICEr/src/stun/stun.h
@@ -36,17 +36,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
#ifdef WIN32
#include <winsock2.h>
#else
#include <sys/param.h>
#include <sys/socket.h>
#ifndef LINUX
#include <net/if.h>
-#if !defined(__OpenBSD__) && !defined(__NetBSD__)
+#ifdef DARWIN
#include <net/if_var.h>
#endif
#include <net/if_dl.h>
#include <net/if_types.h>
#else
#include <linux/if.h>
#endif
#ifndef BSD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment