libtermkey/0004-Include-unistd.h-for-w...

24 lines
526 B
Diff

From 34058046142167cb44260341c500af8988eff618 Mon Sep 17 00:00:00 2001
From: Paul LeoNerd Evans <leonerd@leonerd.org.uk>
Date: Tue, 11 Oct 2016 21:38:16 +0100
Subject: [PATCH 4/7] Include <unistd.h> for write+pipe (thanks jamessan)
---
t/05read.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/t/05read.c b/t/05read.c
index a76cd0a..073c43d 100644
--- a/t/05read.c
+++ b/t/05read.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <errno.h>
+#include <unistd.h>
#include "../termkey.h"
#include "taplib.h"
--
2.11.0