summaryrefslogtreecommitdiff
path: root/include/linux/math.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-06-04 18:10:23 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-06-04 18:10:29 -0400
commit8642d4ae10f167a2eb850403f6d2b60757242b31 (patch)
tree6cd7f6586f779a806e7f33c8f3e76aebc1cf1064 /include/linux/math.h
parent1f78fed4693a5361f56508daac59bebd5b556379 (diff)
Update bcachefs sources to 7c0fe6f104 bcachefs: Fix bch2_fsck_ask_yn()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include/linux/math.h')
-rw-r--r--include/linux/math.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/math.h b/include/linux/math.h
index 3cf6726d..db7cdd23 100644
--- a/include/linux/math.h
+++ b/include/linux/math.h
@@ -2,6 +2,11 @@
#ifndef _LINUX_MATH_H
#define _LINUX_MATH_H
+#include <linux/kernel.h>
+
+/* abs() */
+#include <stdlib.h>
+
/*
* This looks more complex than it should be. But we need to
* get the type for the ~ right in round_down (it needs to be