Uses autotools to idenfiy if sys/utsname.h is present

Fix build problem on the msc_status_engine, reported by: Walter Hop and
Derek Werthmuller.
This commit is contained in:
Felipe Zimmerle
2014-04-02 06:08:37 -07:00
parent 33231378d7
commit 50e4961dd4
2 changed files with 10 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ AC_PATH_PROGS(ENV_CMD, [env printenv], )
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h unistd.h sys/types.h sys/stat.h])
AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h unistd.h sys/types.h sys/stat.h sys/utsname.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST