Skip to content

Commit

Permalink
[core] Fixed BSD builds (#1589)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsantiago0 authored Oct 12, 2020
1 parent ca79ad9 commit 724b841
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions srtcore/platform_sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@

#endif

#ifdef BSD
#ifdef SRT_IMPORT_EVENT
#include <sys/types.h>
#include <sys/event.h>
#include <sys/time.h>
#include <unistd.h>
#endif
#endif

#ifdef LINUX

#ifdef SRT_IMPORT_EVENT
Expand Down

0 comments on commit 724b841

Please sign in to comment.