Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #17 from jfroffice/master

Fix adding support for FreeBSD for issue #10
  • Loading branch information...
commit 1a6956236602531472e7ab9446ba3ed70ee898e1 2 parents 302cd3a + 81fb7e0
@mikedeboer mikedeboer authored
Showing with 4 additions and 0 deletions.
  1. +2 −0  include/cSys_posix.h
  2. +2 −0  include/config.h
View
2  include/cSys_posix.h
@@ -559,7 +559,9 @@ o3_cls(cSys);
struct cSys : cSysBase {
int fd;
size_t m_overall;
+#if !defined(__FreeBSD__)
struct sockaddr_in addr;
+#endif
FILE* file;
cSys()
View
2  include/config.h
@@ -32,6 +32,8 @@
#elif defined(sun)
#define O3_SOLARIS
#define O3_LINUX
+#elif defined(__FreeBSD__)
+#define O3_LINUX
#endif
#define O3_AUTO_CAPACITY 11
Please sign in to comment.
Something went wrong with that request. Please try again.