]> git.ipfire.org Git - thirdparty/squid.git/blame - compat/os/sunos.h
Maintenance: automate header guards 2/3 (#1655)
[thirdparty/squid.git] / compat / os / sunos.h
CommitLineData
37be9888 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
37be9888
AJ
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
ff9d9458
FC
9#ifndef SQUID_COMPAT_OS_SUNOS_H
10#define SQUID_COMPAT_OS_SUNOS_H
f04e1182 11
1191b93b 12#if _SQUID_SUNOS_
f04e1182
AJ
13
14/****************************************************************************
15 *--------------------------------------------------------------------------*
16 * DO *NOT* MAKE ANY CHANGES below here unless you know what you're doing...*
17 *--------------------------------------------------------------------------*
18 ****************************************************************************/
19
dc47f531
AJ
20/* O_NONBLOCK requires <fcntl.h> to be included first */
21#if HAVE_FCNTL_H
22#include <fcntl.h>
23#endif
24
f04e1182
AJ
25/*
26 * We assume O_NONBLOCK is broken, or does not exist, on SunOS.
27 */
28#define SQUID_NONBLOCK O_NDELAY
29
f04e1182 30#endif /* _SQUID_SUNOS_ */
ff9d9458 31#endif /* SQUID_COMPAT_OS_SUNOS_H */
f53969cc 32