i3-config-wizard: use fgetln on OpenBSD, too (Thanks David Coppa)
This commit is contained in:
parent
d085e88d02
commit
45d5f1fbaa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue