Merge branch 'dd/poll-dot-h'

A build update.

* dd/poll-dot-h:
  git-compat-util: prefer poll.h to sys/poll.h
This commit is contained in:
Junio C Hamano
2018-11-19 16:24:41 +09:00
3 changed files with 17 additions and 2 deletions

View File

@@ -789,6 +789,12 @@ AC_CHECK_HEADER([sys/select.h],
[NO_SYS_SELECT_H=UnfortunatelyYes])
GIT_CONF_SUBST([NO_SYS_SELECT_H])
#
# Define NO_POLL_H if you don't have poll.h
AC_CHECK_HEADER([poll.h],
[NO_POLL_H=],
[NO_POLL_H=UnfortunatelyYes])
GIT_CONF_SUBST([NO_POLL_H])
#
# Define NO_SYS_POLL_H if you don't have sys/poll.h
AC_CHECK_HEADER([sys/poll.h],
[NO_SYS_POLL_H=],