Skip to content

Commit 0871c5c

Browse files
committed
- Add missing include file
1 parent cc3940d commit 0871c5c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

MappedFile.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
# include <windows.h>
88
# define FN_CA(x) x.c_str()
99
#else
10-
#ifndef __USE_LARGEFILE64
11-
#define __USE_LARGEFILE64
12-
#define _LARGEFILE_SOURCE
13-
#define _LARGEFILE64_SOURCE
14-
#endif
10+
# ifndef __USE_LARGEFILE64
11+
# define __USE_LARGEFILE64
12+
# define _LARGEFILE_SOURCE
13+
# define _LARGEFILE64_SOURCE
14+
# endif
1515
# include <sys/mman.h>
1616
# include <fcntl.h>
1717
# include <unistd.h>

MappedFile.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#define MAPPEDFILE_H
1515

1616
#include <string>
17+
#include <cstdint>
1718

1819
class MappedFile
1920
{

0 commit comments

Comments
 (0)