mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 18:22:18 +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 <stdarg.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include <asm/bitops.h>
|
|
||||||
#include <asm/types.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <sys/sendfile.h>
|
#include <sys/sendfile.h>
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#include <netinet/in.h>
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
#include "ntkresolv.h"
|
#include "ntkresolv.h"
|
||||||
@ -295,7 +297,7 @@ void opts_set_question(char *arg)
|
|||||||
ntkresolv_safe_exit(1);
|
ntkresolv_safe_exit(1);
|
||||||
}
|
}
|
||||||
G_ALIGN(16);
|
G_ALIGN(16);
|
||||||
memcpy(GQT->qstdata,&i6a.in6_u,16);
|
memcpy(GQT->qstdata,&i6a.__in6_u,16);
|
||||||
GQT->ipv=ANDNS_IPV6;
|
GQT->ipv=ANDNS_IPV6;
|
||||||
return;
|
return;
|
||||||
case QTYPE_G:
|
case QTYPE_G:
|
||||||
@ -377,7 +379,7 @@ void ip_bin_to_str(void *data,char *dst)
|
|||||||
via=(void*)(&ia);
|
via=(void*)(&ia);
|
||||||
break;
|
break;
|
||||||
case AF_INET6:
|
case AF_INET6:
|
||||||
memcpy(&(i6a.in6_u),data,16);
|
memcpy(&(i6a.__in6_u),data,16);
|
||||||
via=(void*)(&i6a);
|
via=(void*)(&i6a);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user