]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fix missing portability warning for Solaris (#1360)
authorAmos Jeffries <yadij@users.noreply.github.com>
Wed, 31 May 2023 23:46:51 +0000 (23:46 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 31 May 2023 23:46:59 +0000 (23:46 +0000)
These headers contain implementations of POSIX API
and cannot be touched without the required OS-specific
knowledge.

The addition or update of Solaris portability logic
wrongly omitted this warning.

compat/os/opensolaris_10_netdb.h
compat/os/solaris.h

index bbdf3c32b8917ce5d28024ef46ef14820a0ad441..aaa39866a5f7f9f496ab72a2dccfed94e642dbd8 100644 (file)
  * End BIND 4.9.3
  */
 
+#ifndef _NETDB_H
+#define _NETDB_H
+
+/****************************************************************************
+ *--------------------------------------------------------------------------*
+ * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
+ *--------------------------------------------------------------------------*
+ ****************************************************************************/
+
 /*
  * Structures returned by network data base library.
  * All addresses are supplied in host order, and
  * returned in network order (suitable for use in system calls).
  */
 
-#ifndef _NETDB_H
-#define _NETDB_H
-
 #include <sys/types.h>
 #include <netinet/in.h>
 #if !defined(_XPG4_2) || defined(_XPG6) || defined(__EXTENSIONS__)
index c5c3b666a5a9b62b6058d4aad0072a44664611d7..eb717c827a9571e890a51e83e102c871cb0c31a8 100644 (file)
 
 #if _SQUID_SOLARIS_
 
+/****************************************************************************
+ *--------------------------------------------------------------------------*
+ * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
+ *--------------------------------------------------------------------------*
+ ****************************************************************************/
+
 /*
  * ugly hack. System headers require wcsstr, but don't define it.
  */