aboutsummaryrefslogtreecommitdiffstats
path: root/src/list_window.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 12:27:29 +0200
commit8fd244cc61c74522b93b59e75594902a01f936b5 (patch)
treebbf97cbda04f0ec9b0dd927ab941a541dc1f8fd7 /src/list_window.h
parent2546fc394347548583c7bdcc15c23c7b17df6ea4 (diff)
downloadmpd-8fd244cc61c74522b93b59e75594902a01f936b5.tar.gz
mpd-8fd244cc61c74522b93b59e75594902a01f936b5.tar.xz
mpd-8fd244cc61c74522b93b59e75594902a01f936b5.zip
include cleanup
A header should include all headers which he needs. Move local includes on top, and let foo.c include foo.h in the first line, to automatically test its dependencies.
Diffstat (limited to '')
-rw-r--r--src/list_window.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/list_window.h b/src/list_window.h
index 114f71eff..ad66760bb 100644
--- a/src/list_window.h
+++ b/src/list_window.h
@@ -1,8 +1,11 @@
#ifndef LIST_WINDOW_H
#define LIST_WINDOW_H
+#include "command.h"
+
#include <ncurses.h>
-#include <command.h>
+#include <glib.h>
+
#define LW_ROW(lw) (lw ? lw->selected-lw->start : 0)
#define LW_HIDE_CURSOR 0x01