Skip to content

Commit

Permalink
Add missing include (#8112)
Browse files Browse the repository at this point in the history
ptrdiff_t was transiently included by type_traits. However, this is not
true for some cpp toolchains. Add the header inclusion explicitly.
  • Loading branch information
z3moon committed Sep 10, 2024
1 parent 684d441 commit e9e7abe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/utils/include/utils/memalign.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#ifndef TNT_UTILS_MEMALIGN_H
#define TNT_UTILS_MEMALIGN_H

#include <cstddef>
#include <type_traits>

#include <assert.h>
Expand Down

0 comments on commit e9e7abe

Please sign in to comment.