aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.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/options.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 'src/options.h')
-rw-r--r--src/options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/options.h b/src/options.h
index e2b3b9b48..380b43eca 100644
--- a/src/options.h
+++ b/src/options.h
@@ -1,3 +1,7 @@
+#ifndef OPTIONS_H
+#define OPTIONS_H
+
+#include <glib.h>
#define MPD_HOST_ENV "MPD_HOST"
#define MPD_PORT_ENV "MPD_PORT"
@@ -39,3 +43,5 @@ extern options_t options;
options_t *options_init(void);
options_t *options_parse(int argc, const char **argv);
+
+#endif