diff options
Diffstat (limited to 'src/mobile_image_mounter.h')
| -rw-r--r-- | src/mobile_image_mounter.h | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/src/mobile_image_mounter.h b/src/mobile_image_mounter.h index ff0690d..9a8fcdd 100644 --- a/src/mobile_image_mounter.h +++ b/src/mobile_image_mounter.h @@ -8,35 +8,28 @@ * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef IMOBILE_IMAGE_MOUNTER_H -#define IMOBILE_IMAGE_MOUNTER_H -#ifdef WIN32 -#include <windows.h> -#else -#include <pthread.h> -#endif +#ifndef __MOBILE_IMAGE_MOUNTER_H +#define __MOBILE_IMAGE_MOUNTER_H +#include "idevice.h" #include "libimobiledevice/mobile_image_mounter.h" #include "property_list_service.h" +#include <libimobiledevice-glue/thread.h> struct mobile_image_mounter_client_private { property_list_service_client_t parent; -#ifdef WIN32 - CRITICAL_SECTION mutex; -#else - pthread_mutex_t mutex; -#endif + mutex_t mutex; }; #endif |
