diff options
| author | 2010-07-01 20:22:42 +0200 | |
|---|---|---|
| committer | 2010-07-01 20:22:42 +0200 | |
| commit | e492ed1d13b51f95b3b96e54d2c3d9076a1910b4 (patch) | |
| tree | 4d2507e5e230606ae69a0a5fd2d23b37421b1ad2 /common/utils.h | |
| parent | 5e9c1c28c6959a814818c7f3614ef84cadccf1c8 (diff) | |
| download | usbmuxd-e492ed1d13b51f95b3b96e54d2c3d9076a1910b4.tar.gz usbmuxd-e492ed1d13b51f95b3b96e54d2c3d9076a1910b4.tar.bz2 | |
Disable fdlist_* in utils for libusbmuxd
Should help Windows builds (no poll.h)
Diffstat (limited to 'common/utils.h')
| -rw-r--r-- | common/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/utils.h b/common/utils.h index 95d3b44..ee79e48 100644 --- a/common/utils.h +++ b/common/utils.h | |||
| @@ -22,6 +22,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| 22 | #ifndef __UTILS_H__ | 22 | #ifndef __UTILS_H__ |
| 23 | #define __UTILS_H__ | 23 | #define __UTILS_H__ |
| 24 | 24 | ||
| 25 | #ifdef USBMUXD_DAEMON | ||
| 25 | #include <poll.h> | 26 | #include <poll.h> |
| 26 | 27 | ||
| 27 | enum fdowner { | 28 | enum fdowner { |
| @@ -41,6 +42,7 @@ void fdlist_create(struct fdlist *list); | |||
| 41 | void fdlist_add(struct fdlist *list, enum fdowner owner, int fd, short events); | 42 | void fdlist_add(struct fdlist *list, enum fdowner owner, int fd, short events); |
| 42 | void fdlist_free(struct fdlist *list); | 43 | void fdlist_free(struct fdlist *list); |
| 43 | void fdlist_reset(struct fdlist *list); | 44 | void fdlist_reset(struct fdlist *list); |
| 45 | #endif | ||
| 44 | 46 | ||
| 45 | struct collection { | 47 | struct collection { |
| 46 | void **list; | 48 | void **list; |
