Skip to content

Commit 83d8f3a

Browse files
committed
Merge pull request DeNA#86 from svartalf/master
automake >= 1.12 build problems
2 parents 1044a28 + 6ec33eb commit 83d8f3a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ AM_INIT_AUTOMAKE([-Wall -Werror foreign])
88
AC_CONFIG_SRCDIR([libhsclient/fatal.cpp])
99
AC_CONFIG_MACRO_DIR([m4])
1010

11+
# For automake >= 1.12
12+
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
13+
1114
AC_PROG_CC
1215
AC_PROG_CXX
1316
AC_PROG_CPP

libhsclient/fatal.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <stdlib.h>
1010
#include <stdio.h>
1111
#include <syslog.h>
12+
#include <unistd.h>
1213

1314
#include "fatal.hpp"
1415

0 commit comments

Comments
 (0)