Skip to content

Commit 32d3b26

Browse files
Fix compilation warning on linux
1 parent ca31843 commit 32d3b26

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/cpuUsage.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#include "fastfetch.h"
22
#include "common/printing.h"
33
#include "detection/cpuUsage/cpuUsage.h"
4-
#include "sys/time.h"
4+
#include <sys/time.h>
5+
#include <time.h>
56

67
#define FF_CPU_USAGE_MODULE_NAME "CPU Usage"
78
#define FF_CPU_USAGE_NUM_FORMAT_ARGS 1

0 commit comments

Comments
 (0)