diff options
Diffstat (limited to 'src/firejail/fs_dev.c')
-rw-r--r-- | src/firejail/fs_dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/fs_dev.c b/src/firejail/fs_dev.c index d710e98f2..bd9b9e828 100644 --- a/src/firejail/fs_dev.c +++ b/src/firejail/fs_dev.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #ifndef _BSD_SOURCE | 28 | #ifndef _BSD_SOURCE |
29 | #define _BSD_SOURCE | 29 | #define _BSD_SOURCE |
30 | #endif | 30 | #endif |
31 | #include <sys/sysmacros.h> | ||
31 | #include <sys/types.h> | 32 | #include <sys/types.h> |
32 | 33 | ||
33 | typedef struct { | 34 | typedef struct { |
@@ -51,7 +52,7 @@ static DevEntry dev[] = { | |||
51 | {"/dev/nvidia8", RUN_DEV_DIR "/nvidia8", 0, 1}, | 52 | {"/dev/nvidia8", RUN_DEV_DIR "/nvidia8", 0, 1}, |
52 | {"/dev/nvidia9", RUN_DEV_DIR "/nvidia9", 0, 1}, | 53 | {"/dev/nvidia9", RUN_DEV_DIR "/nvidia9", 0, 1}, |
53 | {"/dev/nvidiactl", RUN_DEV_DIR "/nvidiactl", 0, 1}, | 54 | {"/dev/nvidiactl", RUN_DEV_DIR "/nvidiactl", 0, 1}, |
54 | {"/dev/nvidia-modset", RUN_DEV_DIR "/nvidia-modset", 0, 1}, | 55 | {"/dev/nvidia-modeset", RUN_DEV_DIR "/nvidia-modeset", 0, 1}, |
55 | {"/dev/nvidia-uvm", RUN_DEV_DIR "/nvidia-uvm", 0, 1}, | 56 | {"/dev/nvidia-uvm", RUN_DEV_DIR "/nvidia-uvm", 0, 1}, |
56 | {NULL, NULL, 0, 0} | 57 | {NULL, NULL, 0, 0} |
57 | }; | 58 | }; |