Skip to content

Commit

Permalink
fix(driver): include jiffies.h to prevent warning about missing proto…
Browse files Browse the repository at this point in the history
…type

Signed-off-by: Holger Hoffstätte <[email protected]>
  • Loading branch information
hhoffstaette authored and poiana committed Nov 4, 2024
1 parent 5f32757 commit d7daa63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/ppm_cputime.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ void ppm_task_cputime_adjusted(struct task_struct *p, cputime_t *ut, cputime_t *
#endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(4, 4, 0)) */

#if(LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
#include <linux/time.h>
#include <linux/jiffies.h>
#include <linux/param.h>

/*
Expand Down

0 comments on commit d7daa63

Please sign in to comment.