Browse Source

be backwards compatible to legacy BSD constant naming

master
Felix von Leitner 18 years ago
parent
commit
da9ef2552b
  1. 5
      socket/socket_getifname.c

5
socket/socket_getifname.c

@ -7,6 +7,11 @@
#include "haven2i.h"
#ifdef HAVE_N2I
/* legacy BSD name */
#ifndef IF_NAMESIZE
#define IF_NAMESIZE IFNAMSIZ
#endif
static char ifname[IF_NAMESIZE];
const char* socket_getifname(uint32 _interface) {

Loading…
Cancel
Save