#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];