summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/librcscripts/rcscripts.h')
-rw-r--r--src/core/librcscripts/rcscripts.h26
1 files changed, 22 insertions, 4 deletions
diff --git a/src/core/librcscripts/rcscripts.h b/src/core/librcscripts/rcscripts.h
index ea1c9c9..3740832 100644
--- a/src/core/librcscripts/rcscripts.h
+++ b/src/core/librcscripts/rcscripts.h
@@ -22,13 +22,32 @@
* $Header$
*/
-#ifndef _RCSCRIPTS_H
-#define _RCSCRIPTS_H
+#ifndef __RCSCRIPTS_H__
+#define __RCSCRIPTS_H__
+
+#include <stddef.h>
+#include <sys/types.h>
+
+#include "config.h"
+
+#include "api/rctypes.h"
+#include "api/debug.h"
+#include "api/misc.h"
+#include "api/list.h"
+#include "api/str_list.h"
+#include "api/dynbuf.h"
+#include "api/simple-regex.h"
+#include "api/scripts.h"
+#include "api/runlevels.h"
+#include "api/parse.h"
+#include "api/depend.h"
#define RCSCRIPTS_CONFDDIR ETCDIR "/conf.d"
#define RCSCRIPTS_INITDDIR ETCDIR "/init.d"
#define RCSCRIPTS_LIBDIR LIBDIR "/rcscripts"
+#define RUNLEVELS_DIR ETCDIR "/runlevels"
+
#define SBIN_RC SBINDIR "/rc"
#define PROFILE_ENV ETCDIR "/profile.env"
@@ -50,5 +69,4 @@
#define SOFTLEVEL "SOFTLEVEL"
-#endif /* _RCSCRIPTS_H */
-
+#endif /* __RCSCRIPTS_H__ */