Skip to content

Commit

Permalink
include/dap/network.h: add <stdint.h> include for gcc-15
Browse files Browse the repository at this point in the history
On `gcc-15` without the include header can't be used as is. I noticed
`cmake` build failing as:

    dap/network.h:31:39: error: 'uint32_t' has not been declared
       31 |                                       uint32_t timeoutMillis = 0);
          |                                       ^~~~~~~~

The change adds `uint32_t` declaration via `<stdint.h>`.
  • Loading branch information
trofi committed Aug 2, 2024
1 parent 0f943b3 commit e8d2a69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/dap/network.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <functional>
#include <memory>
#include <stdint.h>

namespace dap {
class ReaderWriter;
Expand Down

0 comments on commit e8d2a69

Please sign in to comment.