drbd-utils: fix build
This commit is contained in:
parent
8f0972e9b7
commit
b59c6a30a7
1 changed files with 30 additions and 0 deletions
30
srcpkgs/drbd-utils/patches/ftbfs.patch
Normal file
30
srcpkgs/drbd-utils/patches/ftbfs.patch
Normal file
|
@ -0,0 +1,30 @@
|
|||
--- user/v83/drbdadm.h
|
||||
+++ user/v83/drbdadm.h
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <linux/drbd_config.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <net/if.h>
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
--- user/v84/drbdadm.h
|
||||
+++ user/v84/drbdadm.h
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <net/if.h>
|
||||
#include <stdint.h>
|
||||
#include <stdarg.h>
|
||||
--- user/v9/drbdadm.h
|
||||
+++ user/v9/drbdadm.h
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#include <net/if.h>
|
||||
/* We carry a copy of <sys/queue.h> around,
|
||||
* some older versions of it don't have the STAILQ_* variants */
|
Loading…
Reference in a new issue