mirror of
https://github.com/hufrea/byedpi.git
synced 2024-11-25 08:15:31 +03:00
Fix build with LLVM-MinGW
This commit is contained in:
parent
11596789e9
commit
7fb9164fc7
9 changed files with 21 additions and 21 deletions
2
conev.c
2
conev.c
|
@ -1,5 +1,5 @@
|
|||
#define CONEV_H
|
||||
#include <conev.h>
|
||||
#include "conev.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
6
desync.c
6
desync.c
|
@ -33,9 +33,9 @@
|
|||
#endif
|
||||
#define STR_MODE
|
||||
|
||||
#include <params.h>
|
||||
#include <packets.h>
|
||||
#include <error.h>
|
||||
#include "params.h"
|
||||
#include "packets.h"
|
||||
#include "error.h"
|
||||
|
||||
|
||||
static inline int get_family(struct sockaddr *dst)
|
||||
|
|
2
error.h
2
error.h
|
@ -30,7 +30,7 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
inline const int unie(int e)
|
||||
static inline const int unie(int e)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
switch (e) {
|
||||
|
|
6
extend.c
6
extend.c
|
@ -13,9 +13,9 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include <proxy.h>
|
||||
#include <error.h>
|
||||
#include <params.h>
|
||||
#include "proxy.h"
|
||||
#include "error.h"
|
||||
#include "params.h"
|
||||
|
||||
#include <desync.h>
|
||||
#include <packets.h>
|
||||
|
|
8
main.c
8
main.c
|
@ -6,10 +6,10 @@
|
|||
#include <getopt.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <params.h>
|
||||
#include <proxy.h>
|
||||
#include <packets.h>
|
||||
#include <error.h>
|
||||
#include "params.h"
|
||||
#include "proxy.h"
|
||||
#include "packets.h"
|
||||
#include "error.h"
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <arpa/inet.h>
|
||||
|
|
2
mpool.c
2
mpool.c
|
@ -1,6 +1,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <mpool.h>
|
||||
#include "mpool.h"
|
||||
|
||||
|
||||
static inline int scmp(const struct elem *p, const struct elem *q)
|
||||
|
|
2
params.h
2
params.h
|
@ -1,5 +1,5 @@
|
|||
#include <stdio.h>
|
||||
#include <mpool.h>
|
||||
#include "mpool.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <ws2tcpip.h>
|
||||
|
|
10
proxy.c
10
proxy.c
|
@ -7,11 +7,11 @@
|
|||
#include <string.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <proxy.h>
|
||||
#include <params.h>
|
||||
#include <conev.h>
|
||||
#include <extend.h>
|
||||
#include <error.h>
|
||||
#include "proxy.h"
|
||||
#include "params.h"
|
||||
#include "conev.h"
|
||||
#include "extend.h"
|
||||
#include "error.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
|
|
2
proxy.h
2
proxy.h
|
@ -6,7 +6,7 @@
|
|||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include <conev.h>
|
||||
#include "conev.h"
|
||||
|
||||
struct sockaddr_ina {
|
||||
union {
|
||||
|
|
Loading…
Reference in a new issue