summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0002-libc.patch
blob: 01b0ed8e336e5049a5fd4c5d945c740adc68f3bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Author: Daniel Baumann <daniel.baumann@progress-linux.org>
Description: Adding missing libc headers for makedev definitions.

diff -Naurp tarlz.orig/create.cc tarlz/create.cc
--- tarlz.orig/create.cc
+++ tarlz/create.cc
@@ -26,6 +26,7 @@
 #include <vector>
 #include <stdint.h>
 #include <unistd.h>
+#include <sys/sysmacros.h>
 #include <sys/stat.h>
 #include <ftw.h>
 #include <grp.h>
diff -Naurp tarlz.orig/extract.cc tarlz/extract.cc
--- tarlz.orig/extract.cc
+++ tarlz/extract.cc
@@ -26,6 +26,7 @@
 #include <stdint.h>
 #include <unistd.h>
 #include <utime.h>
+#include <sys/sysmacros.h>
 #include <sys/stat.h>
 #include <lzlib.h>