Skip to content

Commit 4535fdb

Browse files
committed
add include limits.h to config.c to define PATH_MAX.
1 parent 163bbe8 commit 4535fdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#include <string.h>
4444
#include <ctype.h>
4545
#include <math.h>
46+
#include <limits.h> // for PATH_MAX
4647

4748
#if ENABLE_GPSD
4849
#include <gps.h> /* for DEFAULT_GPSD_PORT (2947) */

0 commit comments

Comments
 (0)