Index: ports/glibc-compat/src/getprotobyname_r.c |
diff --git a/ports/glibc-compat/src/getprotobyname_r.c b/ports/glibc-compat/src/getprotobyname_r.c |
index 9c7253d936092003c56e5489bc6265cf19727dd8..0becf794294abf90bec1ee9e6a9f977e527d3973 100644 |
--- a/ports/glibc-compat/src/getprotobyname_r.c |
+++ b/ports/glibc-compat/src/getprotobyname_r.c |
@@ -9,6 +9,10 @@ struct protoent *getprotobyname(const char *name) { |
return NULL; |
} |
+struct protoent *getprotobynumber(int n) { |
+ return NULL; |
+} |
+ |
int __getprotobyname_r(const char *name, |
struct protoent *result_buf, char *buf, |
size_t buflen, struct protoent **result) |