Skip to content

Commit

Permalink
compat: Also try to find ssize_t in sys/types.h
Browse files Browse the repository at this point in the history
  • Loading branch information
syyyr committed Oct 24, 2024
1 parent 22a8777 commit 8b8eaf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libshvchainpack/c/include/shv/chainpack/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
#if __has_include(<unistd.h>)
#include <unistd.h>
#endif
#if __has_include(<sys/types.h>)
#include <sys/types.h>
#endif
#endif

#ifndef __ssize_t_defined
Expand Down

0 comments on commit 8b8eaf7

Please sign in to comment.