aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/posix/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mini-os/include/posix/netdb.h')
-rw-r--r--extras/mini-os/include/posix/netdb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/mini-os/include/posix/netdb.h b/extras/mini-os/include/posix/netdb.h
new file mode 100644
index 0000000000..8f76a95b76
--- /dev/null
+++ b/extras/mini-os/include/posix/netdb.h
@@ -0,0 +1,9 @@
+#ifndef _POSIX_NETDB_H_
+#define _POSIX_NETDB_H_
+
+struct hostent {
+ char *h_addr;
+};
+#define gethostbyname(buf) NULL
+
+#endif /* _POSIX_NETDB_H_ */