summaryrefslogtreecommitdiffstats
path: root/avahi-client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-client/client.c')
-rw-r--r--avahi-client/client.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/avahi-client/client.c b/avahi-client/client.c
index 949e5ef..3643403 100644
--- a/avahi-client/client.c
+++ b/avahi-client/client.c
@@ -1,11 +1,18 @@
#include <avahi-client/client.h>
+#include <avahi-common/dbus.h>
+#include <glib.h>
+
+#define DBUS_API_SUBJECT_TO_CHANGE
+#include <dbus/dbus.h>
+
+#include <stdlib.h>
AvahiClient *
avahi_client_new ()
{
- AvahiClient *tmp;
+ AvahiClient *tmp;
- tmp = g_new0 (AvahiClient, 1);
+ tmp = malloc (sizeof (AvahiClient));
- return tmp;
+ return tmp;
}