commit 87c57b44f44ce1df882ee5836fdeba6ff84d13ed
parent 36910ba0626b48c3c1709314337c8f111e6c8bd0
Author: Rob King <deadpixi@users.noreply.github.com>
Date: Sun, 21 Jun 2020 12:01:11 -0500
Merge pull request #47 from domrc/master
add 2 line changes to compile on OpenBSD 6.6!
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -61,7 +61,7 @@
/* The path for the wide-character curses library. */
#ifndef NCURSESW_INCLUDE_H
- #if defined(__APPLE__) || !defined(__linux__) || defined(__FreeBSD__)
+ #if defined(__APPLE__) || !defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
#define NCURSESW_INCLUDE_H <curses.h>
#else
#define NCURSESW_INCLUDE_H <ncursesw/curses.h>
@@ -71,7 +71,7 @@
/* Includes needed to make forkpty(3) work. */
#ifndef FORKPTY_INCLUDE_H
- #if defined(__APPLE__)
+ #if defined(__APPLE__) || defined(__OpenBSD__)
#define FORKPTY_INCLUDE_H <util.h>
#elif defined(__FreeBSD__)
#define FORKPTY_INCLUDE_H <libutil.h>