From 8fd244cc61c74522b93b59e75594902a01f936b5 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 15 Sep 2008 12:27:29 +0200 Subject: 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. --- src/options.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/options.h') 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 #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 -- cgit v1.2.3