]> git.ipfire.org Git - thirdparty/squid.git/blame - compat/os/sunos.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / compat / os / sunos.h
CommitLineData
37be9888 1/*
f70aedc4 2 * Copyright (C) 1996-2021 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
f04e1182
AJ
9#ifndef SQUID_OS_SUNOS_H
10#define SQUID_OS_SUNOS_H
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
AJ
30#endif /* _SQUID_SUNOS_ */
31#endif /* SQUID_OS_SUNOS_H */
f53969cc 32