Skip to content

Commit

Permalink
Fix add support for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
jfroffice committed Jan 15, 2012
1 parent 302cd3a commit 81fb7e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/cSys_posix.h
Expand Up @@ -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()
Expand Down
2 changes: 2 additions & 0 deletions include/config.h
Expand Up @@ -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
Expand Down

0 comments on commit 81fb7e0

Please sign in to comment.