summaryrefslogtreecommitdiffstats
path: root/scd/app.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2024-07-09 03:48:02 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2024-07-09 03:48:02 +0200
commit1d5cfa9b7fd22e1c46eeed5fa9fed2af6f81d34f (patch)
tree98a8d5439e79f724bc2c8be768fbc57d670bca03 /scd/app.c
parentcommon,kbx,tests: Clean up the PIPE function API. (diff)
downloadgnupg2-1d5cfa9b7fd22e1c46eeed5fa9fed2af6f81d34f.tar.xz
gnupg2-1d5cfa9b7fd22e1c46eeed5fa9fed2af6f81d34f.zip
scd: Add <unistd.h> for read(2) / write(2) .
* scd/app.c: Include <unistd.h>. -- Reported-by: David Bohman GnuPG-bug-id: 7193 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'scd/app.c')
-rw-r--r--scd/app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/app.c b/scd/app.c
index aac6e0e9b..625f9b914 100644
--- a/scd/app.c
+++ b/scd/app.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <npth.h>
#include "scdaemon.h"