last finishing touch to the BeOS patch from Marcin 'Shard' Konicki Daniel

* nanoftp.c nanohttp.c: last finishing touch to the BeOS
  patch from Marcin 'Shard' Konicki
Daniel
diff --git a/nanohttp.c b/nanohttp.c
index 5072d37..c2c4d30 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -101,6 +101,12 @@
 #define SOCKET int
 #endif
 
+#ifdef __BEOS__
+#ifndef PF_INET
+#define PF_INET AF_INET
+#endif
+#endif
+
 #ifndef SOCKLEN_T
 #define SOCKLEN_T unsigned int
 #endif