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
|