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.c | |
| 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.c')
| -rw-r--r-- | common/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/utils.c b/common/utils.c index 5f5e23b..db628ce 100644 --- a/common/utils.c +++ b/common/utils.c | |||
| @@ -35,6 +35,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| 35 | # define util_error(...) fprintf(stderr, __VA_ARGS__) | 35 | # define util_error(...) fprintf(stderr, __VA_ARGS__) |
| 36 | #endif | 36 | #endif |
| 37 | 37 | ||
| 38 | #ifdef USBMUXD_DAEMON | ||
| 38 | void fdlist_create(struct fdlist *list) | 39 | void fdlist_create(struct fdlist *list) |
| 39 | { | 40 | { |
| 40 | list->count = 0; | 41 | list->count = 0; |
| @@ -70,6 +71,7 @@ void fdlist_reset(struct fdlist *list) | |||
| 70 | { | 71 | { |
| 71 | list->count = 0; | 72 | list->count = 0; |
| 72 | } | 73 | } |
| 74 | #endif | ||
| 73 | 75 | ||
| 74 | void collection_init(struct collection *col) | 76 | void collection_init(struct collection *col) |
| 75 | { | 77 | { |
