summaryrefslogtreecommitdiffstats
path: root/src/dexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dexec.h')
-rw-r--r--src/dexec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dexec.h b/src/dexec.h
index de9f6ff..831cb9d 100644
--- a/src/dexec.h
+++ b/src/dexec.h
@@ -21,6 +21,10 @@
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \file
*
* Contains a robust API for running sub processes with STDOUT and
@@ -44,4 +48,8 @@
*/
int daemon_exec(const char *dir, int *ret, const char *prog, ...);
+#ifdef __cplusplus
+}
+#endif
+
#endif