Skip to content

Commit

Permalink
bitstring: fix build on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrek committed Jul 29, 2024
1 parent c1f420a commit 9bd6485
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/utils/bitstring/bitstring_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <byteswap.h>
#if defined(HAVE_BYTESWAP_H)
# include <byteswap.h>
#else
# include "byteswap.h"
#endif

#include <string.h>

#include <caml/mlvalues.h>
Expand Down Expand Up @@ -202,4 +207,4 @@ extract_fastpath_with_copy(64, be, signed , int64_t )
extract_fastpath_with_copy(64, le, signed , int64_t )
extract_fastpath_with_copy(64, ne, signed , int64_t )

// vim: ts=2:sts=2:sw=2:et
// vim: ts=2:sts=2:sw=2:et

0 comments on commit 9bd6485

Please sign in to comment.