diff options
Diffstat (limited to 'src/dsignal.h')
-rw-r--r-- | src/dsignal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dsignal.h b/src/dsignal.h index a26b5cc..c777bb7 100644 --- a/src/dsignal.h +++ b/src/dsignal.h @@ -19,6 +19,10 @@ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#ifdef __cplusplus +extern "C" { +#endif + /** \file * * Contains the API for serializing signals to a pipe for @@ -62,4 +66,8 @@ int daemon_signal_next(void); */ int daemon_signal_fd(void); +#ifdef __cplusplus +} +#endif + #endif |