Skip to content

Commit 6db8ff7

Browse files
committed
libpod/container_top_linux.c: fix missing header
As this file uses open it needs to include fcntl.h. This should fix the build error seen on epel9[1], not sure why it works on the other platforms. [1] https://download.copr.fedorainfracloud.org/results/packit/containers-podman-23113/epel-9-aarch64/07672197-podman/builder-live.log.gz Fixes 65ed965 ("podman top: join the container userns") Signed-off-by: Paul Holzinger <[email protected]>
1 parent fda0f81 commit 6db8ff7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libpod/container_top_linux.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
#define _GNU_SOURCE
55
#include <errno.h>
6+
#include <fcntl.h>
67
#include <sched.h>
78
#include <stdio.h>
89
#include <stdlib.h>

0 commit comments

Comments
 (0)