63 lines
1.5 KiB
Diff
63 lines
1.5 KiB
Diff
# Remove sys/unistd.h (will be included in next release)
|
|
# https://github.com/libsixel/libsixel/commit/a8d60939d00af520e7139741b58928a9cc2c5f04
|
|
diff --git a/converters/img2sixel.c b/converters/img2sixel.c
|
|
index eeeccdf..5152fa9 100644
|
|
--- a/converters/img2sixel.c
|
|
+++ b/converters/img2sixel.c
|
|
@@ -28,7 +28,6 @@
|
|
#include <string.h>
|
|
|
|
# include <unistd.h>
|
|
-# include <sys/unistd.h>
|
|
#include <sys/types.h>
|
|
# include <getopt.h>
|
|
# include <inttypes.h>
|
|
diff --git a/meson.build b/meson.build
|
|
index 6a243a3..6e47fcc 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -66,7 +66,6 @@ needed_headers = [
|
|
'string.h',
|
|
'unistd.h',
|
|
'stdint.h',
|
|
- 'sys/unistd.h',
|
|
'getopt.h',
|
|
'sys/types.h',
|
|
'sys/stat.h',
|
|
diff --git a/src/decoder.c b/src/decoder.c
|
|
index 7619792..95803fa 100644
|
|
--- a/src/decoder.c
|
|
+++ b/src/decoder.c
|
|
@@ -26,7 +26,6 @@
|
|
# include <stdarg.h>
|
|
# include <string.h>
|
|
# include <unistd.h>
|
|
-# include <sys/unistd.h>
|
|
#include <sys/types.h>
|
|
#include <sys/select.h>
|
|
# include <time.h>
|
|
diff --git a/src/encoder.c b/src/encoder.c
|
|
index 9fd289b..ea0714c 100644
|
|
--- a/src/encoder.c
|
|
+++ b/src/encoder.c
|
|
@@ -27,7 +27,6 @@
|
|
# include <stdarg.h>
|
|
#include <string.h>
|
|
# include <unistd.h>
|
|
-# include <sys/unistd.h>
|
|
# include <sys/types.h>
|
|
# include <time.h>
|
|
# include <sys/time.h>
|
|
diff --git a/src/tty.c b/src/tty.c
|
|
index 92f9f8e..d020543 100644
|
|
--- a/src/tty.c
|
|
+++ b/src/tty.c
|
|
@@ -28,7 +28,6 @@
|
|
# include <sys/time.h>
|
|
# include <sys/types.h>
|
|
# include <unistd.h>
|
|
-# include <sys/unistd.h>
|
|
# include <sys/select.h>
|
|
# include <errno.h>
|
|
# include <termios.h>
|