summaryrefslogtreecommitdiff
path: root/src/OS
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-01-11 13:49:59 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2016-01-11 13:56:04 +0000
commit781bbcd5fa1169bbf8d87eba5cdc4a54e4408edb (patch)
tree76067d793aae6528087175d098218ac87e657265 /src/OS
parentae98657dd2f5449aff25d7b5669ae7e273255ca3 (diff)
SOCKS: fix build on OpenBSD
Diffstat (limited to 'src/OS')
-rw-r--r--src/OS/os.h-OpenBSD4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/OS/os.h-OpenBSD b/src/OS/os.h-OpenBSD
index 35eddd5a5..5d55a967e 100644
--- a/src/OS/os.h-OpenBSD
+++ b/src/OS/os.h-OpenBSD
@@ -23,4 +23,8 @@ typedef struct __res_state *res_state;
/* default is non-const */
#define ICONV_ARG2_TYPE const char **
+#ifndef EPROTO
+# define EPROTO 71
+#endif
+
/* End */