You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
504 B

  1. From 12d5ea5ca2d9a47a1cab06caf2b36967667a3daf Mon Sep 17 00:00:00 2001
  2. From: Leo <thinkabit.ukim@gmail.com>
  3. Date: Sun, 24 Nov 2019 20:58:20 +0100
  4. Subject: [PATCH] Add missing include of limits.h for PATH_MAX
  5. ---
  6. evtest.c | 1 +
  7. 1 file changed, 1 insertion(+)
  8. --- a/evtest.c
  9. +++ b/evtest.c
  10. @@ -59,6 +59,7 @@
  11. #include <sys/time.h>
  12. #include <sys/types.h>
  13. #include <unistd.h>
  14. +#include <limits.h> /* PATH_MAX */
  15. #define BITS_PER_LONG (sizeof(long) * 8)
  16. #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)