From b418f2e471f743b9655847970b13e37b30423c6e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 28 Mar 2008 11:06:47 +0000 Subject: Allow our headers to be included by C++ programs easily. --- src/librc/rc.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/librc') diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in index 7de69ae9..ede3fc61 100644 --- a/src/librc/rc.h.in +++ b/src/librc/rc.h.in @@ -32,6 +32,8 @@ #include #include +__BEGIN_DECLS + #define RC_SYSCONFDIR "@SYSCONFDIR@" #define RC_LIBDIR "@PREFIX@/@LIB@/rc" #define RC_SVCDIR RC_LIBDIR "/init.d" @@ -462,4 +464,5 @@ typedef LIST_HEAD(rc_pidlist, rc_pid) RC_PIDLIST; * @return NULL terminated list of pids */ RC_PIDLIST *rc_find_pids(const char *const *, const char *, uid_t, pid_t); +__END_DECLS #endif -- cgit v1.2.3