mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 02:18:31 +00:00
Merge "Fix #include poll.h and sys/cdefs.h" into 13
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AST_POLL_COMPAT
|
#ifndef AST_POLL_COMPAT
|
||||||
#include <sys/poll.h>
|
#include <poll.h>
|
||||||
#else
|
#else
|
||||||
#include "asterisk/poll-compat.h"
|
#include "asterisk/poll-compat.h"
|
||||||
#endif
|
#endif
|
||||||
|
@@ -83,7 +83,7 @@
|
|||||||
|
|
||||||
#ifndef AST_POLL_COMPAT
|
#ifndef AST_POLL_COMPAT
|
||||||
|
|
||||||
#include <sys/poll.h>
|
#include <poll.h>
|
||||||
|
|
||||||
#define ast_poll(a, b, c) poll(a, b, c)
|
#define ast_poll(a, b, c) poll(a, b, c)
|
||||||
|
|
||||||
|
@@ -93,6 +93,7 @@
|
|||||||
|
|
||||||
#include "asterisk.h"
|
#include "asterisk.h"
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
#include "asterisk.h"
|
#include "asterisk.h"
|
||||||
|
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user