radv: remove seccomp includes
authorJonathan Gray <jsg@jsg.id.au>
Tue, 4 Aug 2020 07:47:33 +0000 (17:47 +1000)
committerJonathan Gray <jsg@jsg.id.au>
Wed, 2 Sep 2020 02:15:07 +0000 (12:15 +1000)
57c95d2ce23 ("radv: a support for a secure compile fork at device creation")
added includes which were not removed in
7324977e420 ("radv: remove the secure compile support feature")

remove these no longer needed includes to fix the non-linux build

Fixes: 7324977e420 ("radv: remove the secure compile support feature")
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6517>

src/amd/vulkan/radv_device.c

index a64c90e2308abea050e3364527e0bfcc64c30fa5..9113615607c18c5e56d8cd673aecdeb4c3d736da 100644 (file)
  */
 
 #include "dirent.h"
-#include <errno.h>
-#include <fcntl.h>
-#include <linux/audit.h>
-#include <linux/bpf.h>
-#include <linux/filter.h>
-#include <linux/seccomp.h>
-#include <linux/unistd.h>
+
 #include <stdatomic.h>
 #include <stdbool.h>
-#include <stddef.h>
-#include <stdio.h>
 #include <string.h>
-#include <sys/prctl.h>
-#include <sys/wait.h>
 #include <unistd.h>
 #include <fcntl.h>