Skip to content

Commit 6817d5c

Browse files
committed
Fix for *BSD.
1 parent 4d9d0c4 commit 6817d5c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bits_stubs.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#include <stdint.h>
22
#include <inttypes.h>
3+
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
4+
#else
35
#include <alloca.h>
6+
#endif
47
#include <string.h>
58
#include <caml/mlvalues.h>
69
#include <caml/alloc.h>

0 commit comments

Comments
 (0)