Skip to content

Commit

Permalink
test/regbuf-clone: MAP_HUGE_2MB needs linux/mman.h on some systems
Browse files Browse the repository at this point in the history
Fixes: ca5c208 ("test/regbuf-clone: add test case for sparse buffer merging")
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Nov 2, 2024
1 parent ca5c208 commit 7f2978f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/regbuf-clone.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <string.h>
#include <limits.h>
#include <sys/mman.h>
#include <linux/mman.h>

#include "liburing.h"
#include "helpers.h"
Expand Down

0 comments on commit 7f2978f

Please sign in to comment.