Skip to content

Commit

Permalink
Fix build on FreeBSD
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Sustrik <[email protected]>
  • Loading branch information
sustrik committed Oct 27, 2018
1 parent 123daff commit 047934a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dns/dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* ==========================================================================
*/

#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#pragma GCC diagnostic ignored "-Wcpp"
#pragma clang diagnostic ignored "-W#warnings"
#pragma clang diagnostic ignored "-Wexpansion-to-defined"
Expand Down
2 changes: 2 additions & 0 deletions socks5.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@

#include <arpa/inet.h>
#include <errno.h>
#include <netinet/in.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>

#define DILL_DISABLE_RAW_NAMES
#include "libdillimpl.h"
Expand Down

0 comments on commit 047934a

Please sign in to comment.