Skip to content

Commit

Permalink
fix build on gcc 13.x: error uint8_t not declared
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantu committed Nov 1, 2023
1 parent cb55977 commit 4fa8a94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/blksnap/Blksnap.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* flexibility. Uses structures that are directly passed to the kernel module.
*/

#include <stdint.h>
#include <string>
#include <uuid/uuid.h>
#include <vector>
Expand Down
1 change: 1 addition & 0 deletions include/blksnap/Service.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* The hi-level abstraction for the blksnap kernel module.
* Allows to show module kernel version.
*/
#include <stdint.h>
#include <string>

namespace blksnap
Expand Down
1 change: 1 addition & 0 deletions lib/blksnap/Blksnap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <blksnap/Blksnap.h>
#include <errno.h>
#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/ioctl.h>
Expand Down

0 comments on commit 4fa8a94

Please sign in to comment.