mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
metze
(This used to be commit a3657a4e71
)
This commit is contained in:
parent
135852240e
commit
1cfd89c6aa
@ -78,13 +78,6 @@
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
#ifdef SOCKET_WRAPPER
|
||||
#ifndef SOCKET_WRAPPER_NOT_REPLACE
|
||||
#define SOCKET_WRAPPER_REPLACE
|
||||
#endif
|
||||
#include "lib/socket_wrapper/socket_wrapper.h"
|
||||
#endif
|
||||
|
||||
#ifdef REPLACE_INET_NTOA
|
||||
/* define is in "replace.h" */
|
||||
char *rep_inet_ntoa(struct in_addr ip);
|
||||
@ -241,4 +234,11 @@ typedef unsigned short int sa_family_t;
|
||||
#define HOST_NAME_MAX 256
|
||||
#endif
|
||||
|
||||
#ifdef SOCKET_WRAPPER
|
||||
#ifndef SOCKET_WRAPPER_NOT_REPLACE
|
||||
#define SOCKET_WRAPPER_REPLACE
|
||||
#endif
|
||||
#include "lib/socket_wrapper/socket_wrapper.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user