mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-12-22 17:01:46 +00:00
Compilation fixes from the 2010 debianized release
This commit is contained in:
parent
e0a0364f14
commit
6e03e0dee2
@ -27,11 +27,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <errno.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <asm/bitops.h>
|
||||
#include <asm/types.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/sendfile.h>
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
#include "ntkresolv.h"
|
||||
@ -295,7 +297,7 @@ void opts_set_question(char *arg)
|
||||
ntkresolv_safe_exit(1);
|
||||
}
|
||||
G_ALIGN(16);
|
||||
memcpy(GQT->qstdata,&i6a.in6_u,16);
|
||||
memcpy(GQT->qstdata,&i6a.__in6_u,16);
|
||||
GQT->ipv=ANDNS_IPV6;
|
||||
return;
|
||||
case QTYPE_G:
|
||||
@ -377,7 +379,7 @@ void ip_bin_to_str(void *data,char *dst)
|
||||
via=(void*)(&ia);
|
||||
break;
|
||||
case AF_INET6:
|
||||
memcpy(&(i6a.in6_u),data,16);
|
||||
memcpy(&(i6a.__in6_u),data,16);
|
||||
via=(void*)(&i6a);
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user