Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | From a6c9366bfbcef6f3f4bb068b1f1a5623935b5013 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 5 Nov 2019 20:05:08 -0800 |
| 4 | Subject: [PATCH] include stdint.h for getting uintptr_t definition |
Brad Bishop | 1d80a2e | 2019-11-15 16:35:03 -0500 | [diff] [blame] | 5 | |
| 6 | fixes do_compile_ptest_base |
| 7 | tests/fanotify_mark.c:191:23: error: 'uintptr_t' undeclared (first use in this function); did you mean 'intptr_t'? |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 11 | |
| 12 | --- |
| 13 | tests/fanotify_mark.c | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/tests/fanotify_mark.c b/tests/fanotify_mark.c |
| 17 | index aade643..de579f3 100644 |
Brad Bishop | 1d80a2e | 2019-11-15 16:35:03 -0500 | [diff] [blame] | 18 | --- a/tests/fanotify_mark.c |
| 19 | +++ b/tests/fanotify_mark.c |
| 20 | @@ -18,6 +18,7 @@ |
| 21 | |
| 22 | # include <limits.h> |
| 23 | # include <stdio.h> |
| 24 | +# include <stdint.h> |
| 25 | # include <unistd.h> |
| 26 | # include <sys/fanotify.h> |
| 27 | |