pgpool2.git / summary / log / commit / refs

commit    f9ff161f4ef2b62e036111eb4f6137b46110bc32
Author:   Tatsuo Ishii <ishii@postgresql.org>
Date:     Sat Jun 14 14:08:55 2014 +0000

    Add missing include file.
    
    open(2) requires <sys/stat.h> according to the man page. Despite this
    , it was ok on Linux, but FreeBSD requires it.


src/main/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/main.c b/src/main/main.c index e561d21c9..54b30df15 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -22,6 +22,7 @@ #include "pool_config.h" #include <fcntl.h> #include <sys/types.h> +#include <sys/stat.h> #include <unistd.h> [parent: dca546e0a7f4]