aboutsummaryrefslogtreecommitdiff
path: root/include/arpa/inet.h
diff options
context:
space:
mode:
authorFrédéric Bérat <fberat@redhat.com>2025-03-11 10:40:11 +0100
committerFrédéric Bérat <fberat@redhat.com>2025-03-21 09:35:36 +0100
commit3cdb99d8bb9d0008b2b297080e61d6c10dd66cc8 (patch)
treec81f24feed1aefc233b3c61c2c1211616cb43357 /include/arpa/inet.h
parent84373ef7b72c9c8ab61ce1fdfd798777715a1a52 (diff)
downloadglibc-3cdb99d8bb9d0008b2b297080e61d6c10dd66cc8.tar.xz
glibc-3cdb99d8bb9d0008b2b297080e61d6c10dd66cc8.zip
Add missing guards in include/arpa/inet.h
Add the missing guards in the header, similarly to other headers at the same level Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'include/arpa/inet.h')
-rw-r--r--include/arpa/inet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index d1ea13bb19..d9e55a3c7f 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -1,3 +1,5 @@
+#ifndef _ARPA_INET_H
+/* Note: _ARPA_INET_H is defined by inet/arpa/inet.h below. */
#include <inet/arpa/inet.h>
#ifndef _ISOMAC
@@ -17,3 +19,4 @@ libc_hidden_proto (inet_netof)
extern __typeof (inet_network) __inet_network;
libc_hidden_proto (__inet_network)
#endif
+#endif