void-packages/srcpkgs/xfce4-diskperf-plugin/patches/fix-sysmacros_h.patch

14 lines
343 B
Diff

--- panel-plugin/devperf.c 2018-11-02 10:31:36.750842536 +0100
+++ panel-plugin/devperf.c 2018-11-02 10:33:18.000838499 +0100
@@ -39,8 +35,8 @@
#include <errno.h>
#include <sys/time.h>
+#include <sys/types.h>
/* for major() and minor() */
-#define _BSD_SOURCE
-#include <sys/types.h>
+#include <sys/sysmacros.h>
#if defined(__linux__)