Changeset c1cb44 in git


Ignore:
Timestamp:
Mar 22, 2024, 2:19:24 PM (7 weeks ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '4bd32dfef92ec9f5ed8dceee82d14318ae147107')
Children:
b19e8e74caf8de6cc423e6891d0e54c068ae019a
Parents:
dba995ba24989ad286d6d7e0e78797aed3bff21c
Message:
configure: check for poll, poll.h
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rdba995 rc1cb44  
    4343AC_PROG_INSTALL
    4444
    45 AC_CHECK_HEADERS(unistd.h iostream.h fstream.h iomanip.h limits.h sys/time.h sys/times.h asm/sigcontext.h spasm.h)
    46 
    47 AC_CHECK_FUNCS(readlink getcwd getwd setenv putenv qsort_r)
     45AC_CHECK_HEADERS(unistd.h iostream.h fstream.h iomanip.h limits.h sys/time.h sys/times.h asm/sigcontext.h poll.h spasm.h)
     46
     47AC_CHECK_FUNCS(readlink getcwd getwd setenv putenv qsort_r poll)
    4848
    4949AC_CHECK_PROGS([DOXYGEN], [doxygen])
  • libpolys/reporter/si_signals.h

    rdba995 rc1cb44  
    2222#include <semaphore.h>
    2323#include <stdarg.h>
     24#ifdef HAVE_POLL_H
    2425#include <poll.h>
     26#endif
    2527
    2628#ifndef SINGULAR_SI_SIGNALS_H
     
    5052                   )
    5153
     54#ifdef HAVE_POLL
    5255SI_EINTR_SAVE_FUNC(int, poll,
    5356                   (struct pollfd *fds, nfds_t nfds, int timeout),
    5457                   (fds, nfds, timeout)
    5558                   )
     59#endif
    5660
    5761SI_EINTR_SAVE_FUNC(pid_t, wait, (int *status), (status))
Note: See TracChangeset for help on using the changeset viewer.