]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - compat/os/aix.h
SourceFormat Enforcement
[thirdparty/squid.git] / compat / os / aix.h
index be41cd5dc292f5328c51c01cef27985781f82328..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_
 
 /****************************************************************************
  *--------------------------------------------------------------------------*
@@ -13,7 +17,6 @@
  *--------------------------------------------------------------------------*
  ****************************************************************************/
 
-
 /*
  * Syslog facility on AIX requires some portability wrappers
  */
 #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 */
+