Skip to content

Commit

Permalink
ublio: Explicitly include sys/types.h
Browse files Browse the repository at this point in the history
This contains the definition of off_t, which is often but not
specifically specified to be included by sys/uio.h.

Fixes building with ublio on some macOS SDKs.
  • Loading branch information
0x09 committed May 21, 2021
1 parent 47df59a commit c839b88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/libhfsuser/features.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#ifdef HAVE_UBLIO
#include <stdint.h>
#include <sys/types.h>
#include <sys/uio.h>
#include "ublio.h"
#endif
Expand Down

0 comments on commit c839b88

Please sign in to comment.