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 2ccc1aa
Show file tree
Hide file tree
Showing 2 changed files with 2 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 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 2ccc1aa

Please sign in to comment.