blob: 4c79139f7b06435a230e7d28274a73a9ea84ae3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From 29f347c19cb7ad17c4b401e1d984fce8eafaaafa Mon Sep 17 00:00:00 2001
From: Yorhel <git@yorhel.nl>
Date: Tue, 7 Apr 2015 10:39:46 +0200
Subject: shell.c: Include sys/wait.h
Required for the W* macros on OpenBSD. Reported by Brian Callahan.
diff --git a/src/shell.c b/src/shell.c
index d601b5a..eb275cd 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -32,6 +32,7 @@
#include <ncurses.h>
#include <stdlib.h>
#include <unistd.h>
+#include <sys/wait.h>
void shell_draw() {
char *full_path;
--
cgit v0.10.1
|