Skip to content

Commit

Permalink
Add the cstdint header to fix compilation
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael Campos Nunes <[email protected]>
  • Loading branch information
rafaelcn committed Nov 6, 2024
1 parent bb70d11 commit 6245330
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/font.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#define FONT_HPP

#include <iostream>
#include <cstdint>
#include <array>

#include <SDL2/SDL.h>
Expand Down
1 change: 1 addition & 0 deletions src/game.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#define GAME_HPP

#include <memory>
#include <cstdint>

#include <SDL2/SDL_ttf.h>
#include <SDL2/SDL_mixer.h>
Expand Down
1 change: 1 addition & 0 deletions src/image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#ifndef IMAGE_HPP
#define IMAGE_HPP

#include <cstdint>
#include <iostream>
#include <array>

Expand Down
2 changes: 2 additions & 0 deletions src/paddle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#ifndef PADDLE_HPP
#define PADDLE_HPP

#include <cstdint>

#include <SDL2/SDL.h>

#include "window.hpp"
Expand Down
1 change: 1 addition & 0 deletions src/window.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#ifndef WINDOW_HPP
#define WINDOW_HPP

#include <cstdint>
#include <iostream>
#include <array>

Expand Down

0 comments on commit 6245330

Please sign in to comment.