author | jurikm |
Sun, 12 Feb 2012 14:04:10 +0000 | |
changeset 8245 | 383896da4129 |
parent 2475 | 5dd377e8e120 |
permissions | -rw-r--r-- |
2475 | 1 |
--- unix-compat-0.1.2.1-orig/include/HsUnixCompat.h 2007-11-08 01:35:09.000000000 +1100 |
2 |
+++ unix-compat-0.1.2.1/include/HsUnixCompat.h 2010-04-05 10:05:22.159630384 +1000 |
|
3 |
@@ -1,5 +1,8 @@ |
|
4 |
#include "HsUnix.h" |
|
5 |
#include <sys/types.h> |
|
6 |
+#if defined(__sun) && defined(__SVR4) |
|
7 |
+#include <sys/mkdev.h> |
|
8 |
+#endif |
|
9 |
||
10 |
unsigned int unix_major(dev_t dev); |
|
11 |
unsigned int unix_minor(dev_t dev); |