Skip to content

Commit

Permalink
Add #include <cstddef> for std::ptrdiff_t usage
Browse files Browse the repository at this point in the history
https://en.cppreference.com/w/cpp/types/ptrdiff_t shows this is defined
in <cstddef> but that header is not directly included in this file.
  • Loading branch information
mbrukman committed Nov 6, 2024
1 parent 28d2b80 commit fed5f2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/c4/enum.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define _C4_ENUM_HPP_

#include "c4/error.hpp"
#include <cstddef>
#include <string.h>

/** @file enum.hpp utilities for enums: convert to/from string
Expand Down

0 comments on commit fed5f2d

Please sign in to comment.