From daae10fbfe16bac26f74af91faf253d377f1b166 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 7 Aug 2010 17:33:02 +0100 Subject: OpenSolaris (non-gcc) fixes, patches from Dagobert Michelsen with some changes. --- protocols/twitter/Makefile | 1 - protocols/twitter/twitter_lib.c | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'protocols/twitter') diff --git a/protocols/twitter/Makefile b/protocols/twitter/Makefile index 8a4b97f9..3fa9b61e 100644 --- a/protocols/twitter/Makefile +++ b/protocols/twitter/Makefile @@ -14,7 +14,6 @@ endif # [SH] Program variables objects = twitter.o twitter_http.o twitter_lib.o -CFLAGS += -Wall LFLAGS += -r # [SH] Phony targets diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c index dfb5597f..5c89e4f6 100644 --- a/protocols/twitter/twitter_lib.c +++ b/protocols/twitter/twitter_lib.c @@ -22,7 +22,10 @@ ****************************************************************************/ /* For strptime(): */ +#if(__sun) +#else #define _XOPEN_SOURCE +#endif #include "twitter_http.h" #include "twitter.h" -- cgit v1.2.3