<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">HAYASHI Kentaro <hayas****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2015-04-27 13:48:56 +0900 (Mon, 27 Apr 2015)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020">85b1e17beace2e4a299c842e3f5bc3f1f0ef7020</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Include missing header explicitly
This fix resolves the build error on CentOS 5.
==> centos-5-x86_64: groonga.c: In function 'daemonize':
==> centos-5-x86_64: groonga.c:584: error: 'S_IRUSR' undeclared (first use in this function)
==> centos-5-x86_64: groonga.c:584: error: (Each undeclared identifier is reported only once
==> centos-5-x86_64: groonga.c:584: error: for each function it appears in.)
==> centos-5-x86_64: groonga.c:584: error: 'S_IWUSR' undeclared (first use in this function)
==> centos-5-x86_64: groonga.c:584: error: 'S_IRGRP' undeclared (first use in this function)</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#diff-0">src/groonga.c</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: src/groonga.c (+1 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0L19">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0L20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0L21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0L22">22</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0L23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0L24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0L25">25</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0R19">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0R20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0R21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0R22">22</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0R23">23</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0R24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0R25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020#L0R26">26</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -20,6 +20,7 @@</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #include <stdio.h></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #include <ctype.h></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #include <fcntl.h></span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+#include <sys/stat.h></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #ifdef WIN32</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> # define GROONGA_MAIN</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>