Skip to content

Commit

Permalink
lapi/pkey.h: include config.h
Browse files Browse the repository at this point in the history
config.h is needed due HAVE_PKEY_MPROTECT. Although config.h is
already included via lapi/mmap.h (and it was from the start in
90c2dc8 was due tst_test.h -> tst_atomic.h inclusion), it's better to
not expect this in case of future refactoring (or due use in the library).

Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Aug 6, 2024
1 parent 8c8c2c0 commit 65a4d20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/lapi/pkey.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#ifndef PKEYS_H__
#define PKEYS_H__

#include "config.h"
#include "tst_test.h"
#include "lapi/syscalls.h"
#include "lapi/mmap.h"
Expand Down

0 comments on commit 65a4d20

Please sign in to comment.