evemu: fix PATH_MAX related compile failure
authorPeter Seiderer <ps.report@gmx.net>
Wed, 11 Oct 2017 09:14:52 +0000 (11:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 11 Oct 2017 20:05:55 +0000 (22:05 +0200)
commitce94b9a9c62bd27d48b0906656c2fe6d71a41703
treece314d43d269cc9893d332ada1b6f62ff4bf5da9
parent123f2e60769ff848d19754d541182a13dc2a52a4
evemu: fix PATH_MAX related compile failure

Fixes [1] when building with musl:

  find_event_devices.c: In function 'find_event_devices':
find_event_devices.c:60:14: error: 'PATH_MAX' undeclared (first use in this function)
   char fname[PATH_MAX];
              ^~~~~~~~

[1] http://autobuild.buildroot.net/results/607/607bb29231f80a138e1b5423bc01c89e36efe78c/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/evemu/0001-Include-limits.h-for-PATH_MAX.patch [new file with mode: 0644]