summaryrefslogtreecommitdiffstats
path: root/common/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/utils.h')
-rw-r--r--common/utils.h2
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
#ifndef __UTILS_H__
#define __UTILS_H__
+#ifdef USBMUXD_DAEMON
#include <poll.h>
enum fdowner {
@@ -41,6 +42,7 @@ void fdlist_create(struct fdlist *list);
void fdlist_add(struct fdlist *list, enum fdowner owner, int fd, short events);
void fdlist_free(struct fdlist *list);
void fdlist_reset(struct fdlist *list);
+#endif
struct collection {
void **list;