diff options
| author | Kacper Fiedorowicz <kf@efab.pl> | 2026-01-03 18:44:51 +0100 |
|---|---|---|
| committer | Kacper Fiedorowicz <kf@efab.pl> | 2026-01-03 18:44:51 +0100 |
| commit | 6018e17637264a9561b37be699c3d53b6661de23 (patch) | |
| tree | 8546c9fa94358e7d6daaad5f11ac53e61be97ad5 /include/arpa | |
| parent | ab21f339a33abb1144f3c0f5c4285324e7e88392 (diff) | |
Diffstat (limited to 'include/arpa')
| -rw-r--r-- | include/arpa/inet.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h index 478fb1ac..44999b03 100644 --- a/include/arpa/inet.h +++ b/include/arpa/inet.h @@ -1,10 +1,7 @@ -#ifndef __ARPA_INET_H -#define __ARPA_INET_H +#pragma once -#include <stdint.h> #define __BITS_IN_ADDR_H_ -#include <bits/in_addr.h> -#undef __BITS_IN_ADDR_H_ +#include "bits/in_addr.h" #define INET_ADDRSTRLEN 16 #define INET6_ADDRSTRLEN 46 @@ -23,5 +20,3 @@ in_addr_t inet_addr(const char *); char *inet_ntoa(struct in_addr); const char *inet_ntop(int, const void *restrict, char *restrict, socklen_t); int inet_pton(int, const char *restrict, void *restrict); - -#endif |
