void-packages/srcpkgs/chuck/patches/musl-limits_h.patch

13 lines
329 B
Diff
Raw Normal View History

2015-10-25 15:01:45 +00:00
PATH_MAX is defined in <limits.h>
--- chuck-1.3.5.2/src/util_serial.cpp 2015-10-21 11:04:45.000000000 +0200
+++ chuck-1.3.5.2/src/util_serial.cpp 2015-10-25 15:57:34.953700938 +0100
@@ -118,6 +118,7 @@
#elif defined(__PLATFORM_LINUX__)
+#include <limits.h>
#include <sys/types.h>
#include <dirent.h>
#include <unistd.h>