drbd-utils: fix build

This commit is contained in:
q66 2019-12-18 04:51:32 +01:00
parent 8f0972e9b7
commit b59c6a30a7

View 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 */