diff options
Diffstat (limited to 'src/notification_proxy.h')
| -rw-r--r-- | src/notification_proxy.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/notification_proxy.h b/src/notification_proxy.h index 8d5cd24..4a9cdad 100644 --- a/src/notification_proxy.h +++ b/src/notification_proxy.h | |||
| @@ -21,17 +21,17 @@ | |||
| 21 | #ifndef INOTIFICATION_PROXY_H | 21 | #ifndef INOTIFICATION_PROXY_H |
| 22 | #define INOTIFICATION_PROXY_H | 22 | #define INOTIFICATION_PROXY_H |
| 23 | 23 | ||
| 24 | #include <glib.h> | 24 | #include <pthread.h> |
| 25 | 25 | ||
| 26 | #include "libimobiledevice/notification_proxy.h" | 26 | #include "libimobiledevice/notification_proxy.h" |
| 27 | #include "property_list_service.h" | 27 | #include "property_list_service.h" |
| 28 | 28 | ||
| 29 | struct np_client_private { | 29 | struct np_client_private { |
| 30 | property_list_service_client_t parent; | 30 | property_list_service_client_t parent; |
| 31 | GMutex *mutex; | 31 | pthread_mutex_t mutex; |
| 32 | GThread *notifier; | 32 | pthread_t notifier; |
| 33 | }; | 33 | }; |
| 34 | 34 | ||
| 35 | gpointer np_notifier(gpointer arg); | 35 | void* np_notifier(void* arg); |
| 36 | 36 | ||
| 37 | #endif | 37 | #endif |
