From 45d5f1fbaa9a1d27ac22e33e5c4080d4e6fe9352 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 21 Feb 2012 15:23:58 +0100 Subject: [PATCH] i3-config-wizard: use fgetln on OpenBSD, too (Thanks David Coppa) --- i3-config-wizard/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3-config-wizard/main.c b/i3-config-wizard/main.c index cf55c38c..be042673 100644 --- a/i3-config-wizard/main.c +++ b/i3-config-wizard/main.c @@ -13,7 +13,7 @@ #endif /* For systems without getline, fall back to fgetln */ -#if defined(__APPLE__) || (defined(__FreeBSD__) && __FreeBSD_version < 800000) +#if defined(__APPLE__) || (defined(__FreeBSD__) && __FreeBSD_version < 800000) || defined(__OpenBSD__) #define USE_FGETLN #elif defined(__FreeBSD__) /* Defining this macro before including stdio.h is necessary in order to have -- 2.39.5