[Groonga-commit] groonga/groonga at 85b1e17 [master] Include missing header explicitly

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon Apr 27 13:48:56 JST 2015


HAYASHI Kentaro	2015-04-27 13:48:56 +0900 (Mon, 27 Apr 2015)

  New Revision: 85b1e17beace2e4a299c842e3f5bc3f1f0ef7020
  https://github.com/groonga/groonga/commit/85b1e17beace2e4a299c842e3f5bc3f1f0ef7020

  Message:
    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)

  Modified files:
    src/groonga.c

  Modified: src/groonga.c (+1 -0)
===================================================================
--- src/groonga.c    2015-04-27 11:53:30 +0900 (7ed9b38)
+++ src/groonga.c    2015-04-27 13:48:56 +0900 (262c4de)
@@ -20,6 +20,7 @@
 #include <stdio.h>
 #include <ctype.h>
 #include <fcntl.h>
+#include <sys/stat.h>
 
 #ifdef WIN32
 # define GROONGA_MAIN
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index