Emery Hemingway
e36ddaf659
Rename LwIP library in preparation for removal of LwIP libc plugin. The current LwIP library will be replaced with a new version stripped of its synchronous socket support. The next version will be incompatible with the current, so removing 'lwip.lib.so' completely for a period makes it easy to identify legacy users. Fix #2797
16 lines
330 B
Diff
16 lines
330 B
Diff
--- a/src/include/lwip/arch.h
|
|
+++ b/src/include/lwip/arch.h
|
|
@@ -208,6 +208,12 @@ extern "C" {
|
|
extern int errno;
|
|
#endif
|
|
|
|
+#else
|
|
+
|
|
+#include <errno.h>
|
|
+/* errno codes which are not defined in Genode libc's errno.h */
|
|
+#define ENSRNOTFOUND 163 /* Domain name not found */
|
|
+
|
|
#endif /* LWIP_PROVIDE_ERRNO */
|
|
|
|
#ifdef __cplusplus
|