Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls.
(aarch64 kernels don't have these system calls.) Change-Id: I6f64075aa412f71520f2df71c3d69b647f91c1ca
This commit is contained in:
@@ -25,18 +25,21 @@
|
||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _POLL_H_
|
||||
#define _POLL_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <linux/poll.h>
|
||||
#include <signal.h> /* For sigset_t. */
|
||||
#include <time.h> /* For timespec. */
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
typedef unsigned int nfds_t;
|
||||
typedef unsigned int nfds_t;
|
||||
|
||||
/* POSIX specifies "int" for the timeout, Linux seems to use long... */
|
||||
extern int poll(struct pollfd *, nfds_t, long);
|
||||
extern int poll(struct pollfd*, nfds_t, int);
|
||||
extern int ppoll(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user