changeset 17528:c0c17a81f5fe

Fix libgnt compilation on BSD and solaris. This references #516.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 28 May 2007 00:21:27 +0000
parents e62095e99db0
children 289ac53f753f
files finch/libgnt/gntmain.c finch/libgnt/gntwm.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntmain.c	Sun May 27 21:35:47 2007 +0000
+++ b/finch/libgnt/gntmain.c	Mon May 28 00:21:27 2007 +0000
@@ -1,5 +1,5 @@
 #define _GNU_SOURCE
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__unix__)
 #define _XOPEN_SOURCE_EXTENDED
 #endif
 
--- a/finch/libgnt/gntwm.c	Sun May 27 21:35:47 2007 +0000
+++ b/finch/libgnt/gntwm.c	Mon May 28 00:21:27 2007 +0000
@@ -1,5 +1,5 @@
 #define _GNU_SOURCE
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__unix__)
 #define _XOPEN_SOURCE_EXTENDED
 #endif