Add OpenBSD as an expected OS for opening char devices

Closes #7542
This commit is contained in:
James McCoy 2017-11-26 12:28:12 -05:00
parent 122dbc86ab
commit 20bde8866e
No known key found for this signature in database
GPG Key ID: DFE691AE331BA3DB

View File

@ -314,7 +314,7 @@ enum { FOLD_TEXT_LEN = 51 }; //!< buffer size for get_foldtext()
// Lowest number used for window ID. Cannot have this many windows per tab.
#define LOWEST_WIN_ID 1000
#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && defined(S_ISCHR)
#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)) && defined(S_ISCHR)
# define OPEN_CHR_FILES
#endif