Skip to content

Commit

Permalink
Update unix.c
Browse files Browse the repository at this point in the history
Added check to compile in Haiku
  • Loading branch information
robante15 authored and cgutman committed Jun 11, 2024
1 parent 9e1cfe2 commit 76125b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
#include <poll.h>
#endif

#if !defined(HAS_SOCKLEN_T) && !defined(__socklen_t_defined)
#if !defined(HAS_SOCKLEN_T) && !defined(__socklen_t_defined) && !defined(__HAIKU__)
typedef int socklen_t;
#endif

Expand Down

0 comments on commit 76125b5

Please sign in to comment.