void-packages/srcpkgs/lshw/patches/musl-path_max.patch
Jürgen Buchmüller 7a3a434eb1 lshw: unbreak musl
2015-10-14 10:27:58 +02:00

12 lines
346 B
Diff

Need to include limits.h for the definition of PATH_MAX.
--- src/core/cpufreq.cc 2015-10-14 10:07:06.646338278 +0200
+++ src/core/cpufreq.cc 2015-10-14 10:08:09.092333406 +0200
@@ -10,6 +10,7 @@
#include "version.h"
#include "hw.h"
#include "osutils.h"
+#include <limits.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>