| ... | @@ -101,10 +101,13 @@ extern char *inet_nsap_ntoa (int __len, const unsigned char *__cp, | ... | @@ -101,10 +101,13 @@ extern char *inet_nsap_ntoa (int __len, const unsigned char *__cp, |
| 101 | 			 char *__buf) __THROW; | 101 | 			 char *__buf) __THROW; |
| 102 | #endif | 102 | #endif |
| 103 | | 103 | |
| | 104 | // zig patch: inet was fortified in glibc 2.42 |
| | 105 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 42) || __GLIBC__ > 2 |
| 104 | #if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function | 106 | #if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function |
| 105 | /* Include functions with security checks. */ | 107 | /* Include functions with security checks. */ |
| 106 | # include <bits/inet-fortified.h> | 108 | # include <bits/inet-fortified.h> |
| 107 | #endif | 109 | #endif |
| | 110 | #endif |
| 108 | | 111 | |
| 109 | __END_DECLS | 112 | __END_DECLS |
| 110 | | 113 | |