From 951d20f90481760e8f96d053e7b96fdaa1e09a78 Mon Sep 17 00:00:00 2001
From: Sergey Lyubka <valenok@gmail.com>
Date: Tue, 25 Feb 2014 18:52:23 +0000
Subject: [PATCH] Added coniditional to use net_skeleton separately

---
 mongoose.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mongoose.c b/mongoose.c
index 5c223a987..a417be80c 100644
--- a/mongoose.c
+++ b/mongoose.c
@@ -15,6 +15,9 @@
 // Alternatively, you can license this library under a commercial
 // license, as set out in <http://cesanta.com/>.
 
+#ifdef NOEMBED_NET_SKELETON
+#include "net_skeleton.h"
+#else
 // net_skeleton start
 
 // Copyright (c) 2014 Cesanta Software Limited
@@ -947,6 +950,7 @@ void ns_server_free(struct ns_server *s) {
 }
 
 // net_skeleton end
+#endif  // NOEMBED_NET_SKELETON
 
 #include <ctype.h>
 
-- 
GitLab