From a1ca0d46ac6b0154ee98cc15a9654ae08b3221e7 Mon Sep 17 00:00:00 2001 From: C0deH4cker Date: Tue, 8 Sep 2015 00:39:00 -0400 Subject: [PATCH] Include before calling `ioctl()` for Clang on OX X At least when building with Clang on OS X, there is an error on [line 1120 of editline.c][err] caused by using the `ioctl()` function without first declaring it by including its header ``. Adding this line makes the build complete without error. [err]: https://github.com/troglobit/editline/blob/master/src/editline.c#L1120 Signed-off-by: C0deH4cker Signed-off-by: Joachim Nilsson --- src/editline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editline.c b/src/editline.c index 320cfaf..890b5aa 100644 --- a/src/editline.c +++ b/src/editline.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "editline.h"