diff --git a/sys/net/net_help/inet_ntop.c b/sys/net/net_help/inet_ntop.c
index 9166d062eb0805fc303e11ded4f88bfdd6ee0777..d72e8a0aaf88c9b4007ad345a96734016777a029 100644
--- a/sys/net/net_help/inet_ntop.c
+++ b/sys/net/net_help/inet_ntop.c
@@ -14,7 +14,11 @@
  * SOFTWARE.
  */
 
+#include <stdio.h>
 #include <string.h>
+#include <stdint.h>
+
+#include "sys/net/destiny/socket.h"
 
 #include "inet_ntop.h"
 
diff --git a/sys/net/net_help/inet_ntop.h b/sys/net/net_help/inet_ntop.h
index f8e1dc6ae282ad72a7501bfac14c330fe7c4491a..281f1ffa9bc73aed7f910f6615ab26e3a3823354 100644
--- a/sys/net/net_help/inet_ntop.h
+++ b/sys/net/net_help/inet_ntop.h
@@ -6,7 +6,7 @@
 #endif
 
 #ifndef INT16SZ
-#define INT16SZ sizeof(apr_int16_t)
+#define INT16SZ sizeof(int16_t)
 #endif
 
 #if !defined(EAFNOSUPPORT) && defined(WSAEAFNOSUPPORT)
diff --git a/sys/net/net_help/inet_pton.c b/sys/net/net_help/inet_pton.c
index de3005d9b48b1e2496f6ba116faa79c402444842..cbf1193dd5aea7acc1ec43d78827106f59f6952b 100644
--- a/sys/net/net_help/inet_pton.c
+++ b/sys/net/net_help/inet_pton.c
@@ -13,10 +13,14 @@
  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  * SOFTWARE.
  */
+
+#include <stdio.h>
+#include <string.h>
+#include <stdint.h>
  
- #include <string.h>
+#include "sys/net/destiny/socket.h"
  
- #include "inet_pton.h"
+#include "inet_pton.h"
 
 /* int
  * inet_pton4(src, dst)