diff options
| author | 2009-07-24 17:54:06 +0200 | |
|---|---|---|
| committer | 2009-07-24 17:54:06 +0200 | |
| commit | fa3465884eee33178d81ace5f538182704311557 (patch) | |
| tree | b29580fed2d2023482a8c77bcca10a07ba8d0f11 | |
| parent | 601e70e8ee757b769bdc10b16e108e846a1a0b93 (diff) | |
| download | libimobiledevice-fa3465884eee33178d81ace5f538182704311557.tar.gz libimobiledevice-fa3465884eee33178d81ace5f538182704311557.tar.bz2 | |
Add missing macro preventing cyclic includes in notification proxy header
| -rw-r--r-- | src/NotificationProxy.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/NotificationProxy.h b/src/NotificationProxy.h index 02f4251..bc5be43 100644 --- a/src/NotificationProxy.h +++ b/src/NotificationProxy.h | |||
| @@ -18,10 +18,13 @@ | |||
| 18 | * License along with this library; if not, write to the Free Software | 18 | * License along with this library; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | */ | 20 | */ |
| 21 | #include "libiphone/notification_proxy.h" | 21 | #ifndef INOTIFICATION_PROXY_H |
| 22 | #define INOTIFICATION_PROXY_H | ||
| 22 | 23 | ||
| 23 | #include <glib.h> | 24 | #include <glib.h> |
| 24 | 25 | ||
| 26 | #include "libiphone/notification_proxy.h" | ||
| 27 | |||
| 25 | struct np_client_int { | 28 | struct np_client_int { |
| 26 | int sfd; | 29 | int sfd; |
| 27 | GMutex *mutex; | 30 | GMutex *mutex; |
| @@ -42,4 +45,6 @@ static const char *np_default_notifications[11] = { | |||
| 42 | NULL | 45 | NULL |
| 43 | }; | 46 | }; |
| 44 | 47 | ||
| 45 | gpointer np_notifier( gpointer arg ); | 48 | gpointer np_notifier(gpointer arg); |
| 49 | |||
| 50 | #endif | ||
