]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: fix compile against musl libc
authorStijn Tintel <stijn@linux-ipv6.be>
Wed, 1 Sep 2021 00:32:18 +0000 (03:32 +0300)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 1 Apr 2022 08:48:58 +0000 (10:48 +0200)
commit0fb792be90f126cedc22e3505de2e41c331d3bf5
treec3cc19aa27b9f73f627f43fd441a1c28895fc704
parent7ccf12f5ae26a055926d175d908c7930293438c4
rasdaemon: fix compile against musl libc

Fix the following compile errors that occurs when building against musl:

ras-events.c: In function 'read_ras_event_all_cpus':
ras-events.c:366:16: error: 'PATH_MAX' undeclared (first use in this function)
  366 |  char pipe_raw[PATH_MAX];
      |                ^~~~~~~~

ras-events.c: In function 'handle_ras_events_cpu':
ras-events.c:564:16: error: 'PATH_MAX' undeclared (first use in this function)
  564 |  char pipe_raw[PATH_MAX];
      |

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
ras-events.c