nixpkgs/pkgs/applications/window-managers/vwm/signal.patch

23 lines
540 B
Diff
Raw Normal View History

diff --git a/modules/vwmterm2/signals.c b/modules/vwmterm2/signals.c
index 239e7f2..07d78fd 100644
--- a/modules/vwmterm2/signals.c
+++ b/modules/vwmterm2/signals.c
@@ -1,4 +1,5 @@
#include <vwm.h>
+#include <signal.h>
struct sigaction* vwmterm_sigset(int signum,sighandler_t handler)
{
diff --git a/vwm_private.h b/vwm_private.h
index 2d48ebf..46457bd 100644
--- a/vwm_private.h
+++ b/vwm_private.h
@@ -2,6 +2,7 @@
#define _H_VWM_PRIVATE_
#include <glib.h>
+#include <signal.h>
#ifdef _VIPER_WIDE
#include <ncursesw/curses.h>