From a5164e85434eaddcdc1c79d119e22c68304529c2 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 8 Nov 2006 07:58:03 +0000 Subject: [PATCH] * Do not link cacaserver with libcaca, it only uses libcucul. --- src/Makefile.am | 2 +- src/cacaserver.c | 14 +++----------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index e39d8e7..6dc89eb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,7 +27,7 @@ cacaplay_SOURCES = cacaplay.c cacaplay_LDADD = ../caca/libcaca.la ../cucul/libcucul.la cacaserver_SOURCES = cacaserver.c -cacaserver_LDADD = ../caca/libcaca.la ../cucul/libcucul.la +cacaserver_LDADD = ../cucul/libcucul.la img2irc_SOURCES = img2irc.c common-image.c common-image.h img2irc_LDADD = ../cucul/libcucul.la diff --git a/src/cacaserver.c b/src/cacaserver.c index f9a8dd3..4059cd4 100644 --- a/src/cacaserver.c +++ b/src/cacaserver.c @@ -26,24 +26,16 @@ # include # include #endif +#if defined(HAVE_UNISTD_H) +# include +#endif #include #include #include #include #include - -#include "cucul.h" -#include "caca.h" - -#include "config.h" - -#if defined(HAVE_UNISTD_H) -# include -#endif - #include -#include "caca.h" #include "cucul.h" #define BACKLOG 1337 /* Number of pending connections */