Navigation Menu

Skip to content

Commit

Permalink
Include missing header explicitly
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
kenhys committed Apr 27, 2015
1 parent 5365bc6 commit 85b1e17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/groonga.c
Expand Up @@ -20,6 +20,7 @@
#include <stdio.h>
#include <ctype.h>
#include <fcntl.h>
#include <sys/stat.h>

#ifdef WIN32
# define GROONGA_MAIN
Expand Down

0 comments on commit 85b1e17

Please sign in to comment.