File: 1000-major-minor-macros.patch

package info (click to toggle)
array-info 0.16-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 304 kB
  • sloc: ansic: 2,056; makefile: 119; xml: 17
file content (18 lines) | stat: -rw-r--r-- 549 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix build problem with recent glibc
 Make sure major() and minor() macros are available when needed.
Author: Petter Reinholdtsen <pere@hungry.com>
Bug-Debian: https://bugs.debian.org/916121
Forwarded: no
Reviewed-By: Petter Reinholdtsen <pere@hungry.com>
Last-Update: 2018-12-15

--- array-info-0.16.orig/include/array_info.h
+++ array-info-0.16/include/array_info.h
@@ -44,6 +44,7 @@
 #define _ARRAY_INFO_H_
 
 #include <linux/major.h>
+#include <sys/sysmacros.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/stat.h>