From fb768d33cb8ef814428c4e1be3a6e7b71414cc9a Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Tue, 3 Jan 2017 08:38:19 -0500 Subject: [PATCH] Explictly maerk buf.c as requiring posix APIs (truncate) --- libedit/buf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libedit/buf.c b/libedit/buf.c index e36d375..92c5440 100644 --- a/libedit/buf.c +++ b/libedit/buf.c @@ -1,3 +1,4 @@ +#define _POSIX_C_SOURCE 200809L #include #include #include -- 2.49.0