mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
23 lines
501 B
Diff
23 lines
501 B
Diff
From 93ce3ef5a23ec34fde1ee07990329cfa398b3503 Mon Sep 17 00:00:00 2001
|
|
From: q66 <q66@chimera-linux.org>
|
|
Date: Fri, 2 Aug 2024 21:23:30 +0200
|
|
Subject: [PATCH] main: add missing include
|
|
|
|
This is needed to get declarations for close/read.
|
|
---
|
|
main.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/main.c b/main.c
|
|
index 55300f9..b9e396d 100644
|
|
--- a/main.c
|
|
+++ b/main.c
|
|
@@ -10,6 +10,7 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <unistd.h>
|
|
|
|
#include <sys/stat.h>
|
|
|