blob: 97627da74f60808fdd6e23f408cb7ad820c1e1e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[PATCH] close(2) needs unistd.h
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
diskio-unix.cc | 1 +
1 file changed, 1 insertion(+)
Index: gdisk-0.6.14/diskio-unix.cc
===================================================================
--- gdisk-0.6.14.orig/diskio-unix.cc
+++ gdisk-0.6.14/diskio-unix.cc
@@ -22,6 +22,7 @@
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
+#include <unistd.h>
#include <iostream>
#include "diskio.h"
|