aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-16 18:52:55 +0200
committerMax Kellermann <max@duempel.org>2008-09-16 18:52:55 +0200
commit76378f6b0116c7fd438791d3e16ed9e542719545 (patch)
treeb396b43240c82ab93720953c0efb0499c6851c19 /src
parent4d8453331a37c2a07ee0b80e359c4a30d52f7ecc (diff)
downloadmpd-76378f6b0116c7fd438791d3e16ed9e542719545.tar.gz
mpd-76378f6b0116c7fd438791d3e16ed9e542719545.tar.xz
mpd-76378f6b0116c7fd438791d3e16ed9e542719545.zip
include cleanup
Include only headers which are really used.
Diffstat (limited to '')
-rw-r--r--src/src_lyrics.c6
-rw-r--r--src/src_lyrics.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/src_lyrics.c b/src/src_lyrics.c
index 6ac6cc3c5..21e6437be 100644
--- a/src/src_lyrics.c
+++ b/src/src_lyrics.c
@@ -18,12 +18,12 @@
*
*/
+#include "src_lyrics.h"
+
+#include <stdlib.h>
#include <unistd.h>
#include <string.h>
-#include "../config.h"
-#include "src_lyrics.h"
-
#define PLUGIN_DIR_USER "/.ncmpc/plugins"
int get_text_line(formed_text *text, unsigned num, char *dest, size_t len)
diff --git a/src/src_lyrics.h b/src/src_lyrics.h
index 9e13cd411..98c695dac 100644
--- a/src/src_lyrics.h
+++ b/src/src_lyrics.h
@@ -1,10 +1,10 @@
#ifndef SOURCE_LYRICS
#define SOURCE_LYRICS
-#include "list_window.h"
+#include "config.h"
#include "mpdclient.h"
-#include <stdlib.h>
+#include <sys/types.h>
#include <glib.h>
#include <gmodule.h>