]> git.saurik.com Git - apple/mdnsresponder.git/blobdiff - mDNSPosix/Client.c
mDNSResponder-1310.80.1.tar.gz
[apple/mdnsresponder.git] / mDNSPosix / Client.c
index 1b43c077081c64293418ea738015c9e00d8e59e2..e756c80e427a996ab68553caf7a9d9203b7bb259 100755 (executable)
 #include <string.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include <sys/socket.h>
 
 #include "mDNSEmbeddedAPI.h" // Defines the interface to the mDNS core code
 #include "mDNSPosix.h"    // Defines the specific types needed to run mDNS on this platform
 #include "ExampleClientApp.h"
 
 // Globals
-static mDNS mDNSStorage;       // mDNS core uses this to store its globals
+mDNSexport mDNS mDNSStorage;       // mDNS core uses this to store its globals
 static mDNS_PlatformSupport PlatformStorage;  // Stores this platform's globals
 #define RR_CACHE_SIZE 500
 static CacheEntity gRRCache[RR_CACHE_SIZE];