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.

24 lines
579 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. diff --git a/evtest.c b/evtest.c
  9. index 548c203..be5e42c 100644
  10. --- a/evtest.c
  11. +++ b/evtest.c
  12. @@ -59,6 +59,7 @@
  13. #include <sys/time.h>
  14. #include <sys/types.h>
  15. #include <unistd.h>
  16. +#include <limits.h> /* PATH_MAX */
  17. #define BITS_PER_LONG (sizeof(long) * 8)
  18. #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
  19. --
  20. 2.22.0