From 20bde8866e6a310f6fee6a6fcdb7546bac335944 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sun, 26 Nov 2017 12:28:12 -0500 Subject: [PATCH] Add OpenBSD as an expected OS for opening char devices Closes #7542 --- src/nvim/vim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 1db1a073ed..88014c8ae8 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -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