~mmach/netext73/lm-sensors

« back to all changes in this revision

Viewing changes to debian/patches/15-path-max.patch

  • Committer: mmach
  • Date: 2020-02-05 20:28:34 UTC
  • Revision ID: netbit73@gmail.com-20200205202834-zc3sla47j9e700w5
3.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/lib/access.h
 
2
+++ b/lib/access.h
 
3
@@ -22,6 +22,11 @@
 
4
 #ifndef LIB_SENSORS_ACCESS_H
 
5
 #define LIB_SENSORS_ACCESS_H
 
6
 
 
7
+/* PATH_MAX is undefined on GNU Hurd */
 
8
+#ifndef PATH_MAX
 
9
+#define PATH_MAX 4096
 
10
+#endif
 
11
+
 
12
 #include "sensors.h"
 
13
 #include "data.h"
 
14