]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - compat/os/aix.h
SourceFormat Enforcement
[thirdparty/squid.git] / compat / os / aix.h
index 3286eb49a4579ea00bebdc7668657ffaae0004a6..73297941313f25d6d5337c026206da7557fda7aa 100644 (file)
@@ -1,11 +1,15 @@
-#ifndef SQUID_CONFIG_H
-#include "config.h"
-#endif
+/*
+ * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
 
 #ifndef SQUID_OS_AIX_H
 #define SQUID_OS_AIX_H
 
-#ifdef _SQUID_AIX_
+#if _SQUID_AIX_
 
 /****************************************************************************
  *--------------------------------------------------------------------------*
  *--------------------------------------------------------------------------*
  ****************************************************************************/
 
-
 /*
  * Syslog facility on AIX requires some portability wrappers
  */
-#ifdef HAVE_SYSLOG_H
+#if HAVE_SYSLOG_H
 #define _XOPEN_EXTENDED_SOURCE
 #define _XOPEN_SOURCE_EXTENDED 1
 #endif
 
+/* AIX 6.1 does not define recvmsg() flag MSG_DONTWAIT */
+#if !defined(MSG_DONTWAIT)
+#define MSG_DONTWAIT 0
+#endif
 
 #endif /* _SQUID_AIX_ */
 #endif /* SQUID_OS_AIX_H */
+