Merge "Fix #include poll.h and sys/cdefs.h"

changes/73/2973/3
Joshua Colp 9 years ago committed by Gerrit Code Review
commit 7bcccd4db3

@ -70,7 +70,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)

@ -94,6 +94,7 @@
#define ASTMM_LIBC ASTMM_REDIRECT #define ASTMM_LIBC ASTMM_REDIRECT
#include "asterisk.h" #include "asterisk.h"
#include <sys/cdefs.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdio.h> #include <stdio.h>

@ -15,6 +15,7 @@
#define ASTMM_LIBC ASTMM_REDIRECT #define ASTMM_LIBC ASTMM_REDIRECT
#include "asterisk.h" #include "asterisk.h"
#include <sys/cdefs.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdio.h> #include <stdio.h>

Loading…
Cancel
Save