495de5dd2a
Revert, see https://bugzilla.opensuse.org/show_bug.cgi?id=1198266 OBS-URL: https://build.opensuse.org/request/show/969331 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/procps?expand=0&rev=127
14 lines
310 B
Diff
14 lines
310 B
Diff
--- proc/devname.c
|
|
+++ proc/devname.c 2012-06-01 13:35:43.452010553 +0000
|
|
@@ -53,6 +53,10 @@
|
|
#define minor <-- do not use -->
|
|
#endif
|
|
|
|
+#ifndef PAGE_SIZE
|
|
+# define PAGE_SIZE (sysconf(_SC_PAGESIZE))
|
|
+#endif
|
|
+
|
|
typedef struct tty_map_node {
|
|
struct tty_map_node *next;
|
|
unsigned short devfs_type; // bool
|