]> granicus.if.org Git - apache/commitdiff
* os/unix/unixd.h: Use extern "C" linkage.
authorJoe Orton <jorton@apache.org>
Tue, 6 Dec 2005 09:48:19 +0000 (09:48 +0000)
committerJoe Orton <jorton@apache.org>
Tue, 6 Dec 2005 09:48:19 +0000 (09:48 +0000)
PR: 37357

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354389 13f79535-47bb-0310-9956-ffa450edef68

os/unix/unixd.h

index 234c2f0f4f03991948ec1c05921173d9c007f9a1..d18e9078fc294a386e96124a4ee4c0f5843dc468 100644 (file)
 #include <sys/ipc.h>
 #endif
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct {
     uid_t uid;
     gid_t gid;
@@ -113,5 +117,9 @@ AP_INIT_TAKE1("User", unixd_set_user, NULL, RSRC_CONF, \
 AP_INIT_TAKE1("Group", unixd_set_group, NULL, RSRC_CONF, \
   "Effective group id for this server")
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif
 /** @} */