]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add missing guards in include/arpa/inet.h
authorFrédéric Bérat <fberat@redhat.com>
Tue, 11 Mar 2025 09:40:11 +0000 (10:40 +0100)
committerFrédéric Bérat <fberat@redhat.com>
Fri, 21 Mar 2025 08:35:36 +0000 (09:35 +0100)
Add the missing guards in the header, similarly to other headers at the
same level

Reviewed-by: Florian Weimer <fweimer@redhat.com>
include/arpa/inet.h

index d1ea13bb19d4a497d02619a27a1a073bee8d4e1e..d9e55a3c7f2db9f212d1ac9718be4d4ab880cb17 100644 (file)
@@ -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