SOCKS: fix build on OpenBSD
authorJeremy Harris <jgh146exb@wizmail.org>
Mon, 11 Jan 2016 13:49:59 +0000 (13:49 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Mon, 11 Jan 2016 13:56:04 +0000 (13:56 +0000)
src/OS/os.h-OpenBSD

index 35eddd5a52fac7eeccfdd17f052bdf245d2cf074..5d55a967ea5d6dda5f736e69df493f2913cd29ff 100644 (file)
@@ -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 */