[PATCH] cyclictest: remove inclusion of unnecessary headers

Marcelo Tosatti
2023-05-30T18:37:06Z

The following three headers seem to be unnecessary,
and do not exist on FreeBSD.

Remove their inclusion.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 82759d1..7b0f80f 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -22,11 +22,8 @@
#include <time.h>
#include <errno.h>
#include <limits.h>
-#include <linux/unistd.h>

-#include <sys/prctl.h>
#include <sys/stat.h>
-#include <sys/sysinfo.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>