You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
648 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -23,7 +23,7 @@ AC_HEADER_SYS_WAIT
  4. AC_CHECK_HEADERS([arpa/inet.h errno.h malloc.h \
  5. stddef.h stdlib.h string.h sys/socket.h \
  6. sys/time.h syslog.h unistd.h time.h \
  7. - assert.h sys/poll.h signal.h pwd.h grp.h stdarg.h\
  8. + assert.h poll.h signal.h pwd.h grp.h stdarg.h\
  9. limits.h sys/wait.h sched.h sys/ioctl.h sys/uio.h])
  10. AC_HEADER_TIME
  11. --- a/src/apinger.c
  12. +++ b/src/apinger.c
  13. @@ -33,8 +33,8 @@
  14. #ifdef HAVE_SYS_WAIT_H
  15. # include <sys/wait.h>
  16. #endif
  17. -#ifdef HAVE_SYS_POLL_H
  18. -# include <sys/poll.h>
  19. +#ifdef HAVE_POLL_H
  20. +# include <poll.h>
  21. #endif
  22. #ifdef HAVE_ARPA_INET_H
  23. # include <arpa/inet.h>