#define MAP_GROWSDOWN 0
#define MAP_ANONYMOUS MAP_ANON
-#elif defined(__CYGWIN__)
+#elif defined(__CYGWIN__) || defined(__sun__)
#define MAP_GROWSDOWN 0
#else
#error "Please add support for your OS."
-#endif /* __linux__ , __FreeBSD__ */
+#endif /* __linux__ */
#endif /* _COMPAT_MMAN_H */