summaryrefslogtreecommitdiff
path: root/recipes/bluez/bluez-utils/ppoll-uclibc-arm-r0.patch
blob: 391a7ae3de5c6041754a11f4282bb5fc293bc169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: bluez-utils-3.9/common/ppoll.h
===================================================================
--- bluez-utils-3.9.orig/common/ppoll.h	2007-05-17 17:42:23.000000000 +0200
+++ bluez-utils-3.9/common/ppoll.h	2007-05-17 17:43:18.000000000 +0200
@@ -1,4 +1,8 @@
-static inline int ppoll(struct pollfd *fds, nfds_t nfds,
+#ifdef ppoll
+#undef ppoll
+#endif
+#define ppoll bluez_ppoll
+static inline int bluez_ppoll(struct pollfd *fds, nfds_t nfds,
 		const struct timespec *timeout, const sigset_t *sigmask)
 {
 	return poll(fds, nfds, timeout ? timeout->tv_sec * 1000 : 500);