summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4d84533)
raw | patch | inline | side by side (parent: 4d84533)
author | Max Kellermann <max@duempel.org> | |
Tue, 16 Sep 2008 16:52:55 +0000 (18:52 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Tue, 16 Sep 2008 16:52:55 +0000 (18:52 +0200) |
Include only headers which are really used.
src/src_lyrics.c | patch | blob | history | |
src/src_lyrics.h | patch | blob | history |
diff --git a/src/src_lyrics.c b/src/src_lyrics.c
index 6ac6cc3c5a102b710848543b81640820d5d8ae61..21e6437be8a3ccd1af77b974dca4252e86e3c24b 100644 (file)
--- a/src/src_lyrics.c
+++ b/src/src_lyrics.c
*
*/
+#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 9e13cd411d2d15dee7d50346c8862881bb5abc55..98c695dacb6358d7d5b1790a687a32072171c01f 100644 (file)
--- a/src/src_lyrics.h
+++ b/src/src_lyrics.h
#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>