projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0afd611
)
base: define few magic names to make Solaris work
author
Marko Kreen
<markokr@gmail.com>
Sun, 26 Sep 2010 04:02:56 +0000
(21:02 -0700)
committer
Marko Kreen
<markokr@gmail.com>
Sun, 26 Sep 2010 04:07:05 +0000
(21:07 -0700)
usual/base.h
patch
|
blob
|
blame
|
history
diff --git
a/usual/base.h
b/usual/base.h
index 9238c6a3d845b92dc3b443769064a60dd76896b7..adad4a1991f25f64a55e8dd451466f4049df0747 100644
(file)
--- a/
usual/base.h
+++ b/
usual/base.h
@@
-27,6
+27,12
@@
#include <usual/config.h>
#endif
+/* solaris is broken otherwise */
+#if defined(__sun)
+#define _XPG4_2
+#define __EXTENSIONS__
+#endif
+
#include <sys/types.h>
#include <sys/param.h>
#include <stddef.h>