Skip to content

Commit 547b07a

Browse files
authored
Merge pull request #67 from biodranik/build-fixes
Build fixes
2 parents 86c0b4d + ec55db7 commit 547b07a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ project('plutovg', 'c',
22
version: '1.3.1',
33
license: 'MIT',
44
meson_version: '>=1.3.0',
5-
default_options: ['c_std=gnu11,c11']
5+
default_options: ['c_std=gnu11']
66
)
77

88
plutovg_deps = []

source/plutovg-font.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
#include <stdio.h>
55
#include <assert.h>
6+
#ifdef __linux__
7+
#include <linux/limits.h> // PATH_MAX
8+
#else
9+
#include <limits.h> // PATH_MAX
10+
#endif
611

712
#define STBTT_STATIC
813
#define STB_TRUETYPE_IMPLEMENTATION

0 commit comments

Comments
 (0)