summaryrefslogtreecommitdiff
path: root/pkg/signal
diff options
context:
space:
mode:
authorPaul Holzinger <paul.holzinger@web.de>2021-01-06 23:32:40 +0100
committerPaul Holzinger <paul.holzinger@web.de>2021-01-07 15:04:22 +0100
commit9dfc636fd613c5dac4717473ae2fd214f9835748 (patch)
tree85402206c778ed997be220db623e70900078cf6d /pkg/signal
parentbb82c37b731f06b9e0602400cf0657a90a2d7537 (diff)
downloadpodman-9dfc636fd613c5dac4717473ae2fd214f9835748.tar.gz
podman-9dfc636fd613c5dac4717473ae2fd214f9835748.tar.bz2
podman-9dfc636fd613c5dac4717473ae2fd214f9835748.zip
Fix build for mips architecture follow-up
Follow-up to commit (1ad796677e1c). The build on mips is still failing because SIGWINCH was not defined in the signal pkg. Also stat_t.Rdev is unit32 on mips so we need to typecast. Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
Diffstat (limited to 'pkg/signal')
-rw-r--r--pkg/signal/signal_linux_mipsx.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/signal/signal_linux_mipsx.go b/pkg/signal/signal_linux_mipsx.go
index 67638e30a..45c9d5af1 100644
--- a/pkg/signal/signal_linux_mipsx.go
+++ b/pkg/signal/signal_linux_mipsx.go
@@ -19,6 +19,8 @@ import (
const (
sigrtmin = 34
sigrtmax = 127
+
+ SIGWINCH = syscall.SIGWINCH
)
// signalMap is a map of Linux signals.