All supported FreeBSD version has getline now
Patch status: merged
Patch by Baptiste Daroussin
To apply this patch, use:
curl http://cr.i3wm.org/patch/97/raw.patch | git am
b/i3-config-wizard/main.c
13 |
@@ -13,7 +13,7 @@ |
14 |
#endif |
15 |
|
16 |
/* For systems without getline, fall back to fgetln */ |
17 |
-#if defined(__APPLE__) || (defined(__FreeBSD__) && __FreeBSD_version < 800000) |
18 |
+#if defined(__APPLE__) |
19 |
#define USE_FGETLN |
20 |
#elif defined(__FreeBSD__) |
21 |
/* Defining this macro before including stdio.h is necessary in order to have |