mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
c13b6f055d
This change fixes the following compilation error for rsync generator.c:(.text+0x4872): undefined reference to `makedev' Glibc removes sys/sysmacros.h which defines makedev from sys/types.h since v2.28. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
11 lines
217 B
Diff
11 lines
217 B
Diff
--- a/rsync.h
|
|
+++ b/rsync.h
|
|
@@ -307,6 +307,7 @@ enum delret {
|
|
#include <stdio.h>
|
|
#ifdef HAVE_SYS_TYPES_H
|
|
# include <sys/types.h>
|
|
+# include <sys/sysmacros.h>
|
|
#endif
|
|
#ifdef HAVE_SYS_STAT_H
|
|
# include <sys/stat.h>
|