aboutsummaryrefslogtreecommitdiff
path: root/include/compat/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add queue.h tree.h _null.hkinichiro2020-09-133-0/+1560
| | | | | Import queue.h tree.h _null.h header files from OpenBSD upstream since x509_issuer_cache.c requires them.
* add __dead__ annotation supportBrent Cook2019-02-091-0/+8
|
* __warn_references: tweak assembly for "gnu.warning" sectionSergei Trofimovich2018-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | On some targets ';' (like hppa) is treated as a comment in assembly files. This occasionally causes the following assembly failures: ``` Error: can't resolve `.gnu.warning.EVP_DecryptFinal' {.gnu.warning.EVP_DecryptFinal section} - `.Ltext0' {.text section} ``` Note how branch (or other reference) attempts to cross the boundary across two section types: '.text' and '.gnu.warning'. Tobias Ulmer notes that openbsd already uses newlines for similar macro: https://github.com/openbsd/src/blob/master/sys/arch/hppa/include/cdefs.h This change switches from ';' to newline as well. Tested on hppa2.0 and x86_64. Reported-by: Jeroen Roovers Bug: https://bugs.gentoo.org/656104 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* add clock_gettime for macos 10.11 and earlierBrent Cook2018-03-221-4/+0
|
* Add compat bits for libtls on Windowskinichiro2018-02-251-0/+2
|
* Add file permission define for Windows and MinGW buildkinichiro2018-02-112-0/+13
|
* Add CLOCK_MONOTONIC and timersub for the OS that does not have themkinichiro2017-12-251-0/+16
|
* Add definition of in_addr_t for Windows buildkinichiro2017-05-141-0/+2
|
* Move S_IRGRP and S_IROTH from fcntl.h to sys/stat.hkinichiro2017-01-281-0/+9
| | | | | | - S_IRGRP and S_IROTH should be defined in sys/stat.h rather than fcntl.h - Old MinGW64 on Ubuntu 14.04 appears not to have S_IRGRP and S_IROTH - MinGW64 has __WIN32 defined but does not have _MSC_VER defined
* include pipe2/socketpair compat for macOSBrent Cook2017-01-151-0/+7
|
* ensure that __STRING worksBrent Cook2016-09-141-0/+5
|
* more cdefs.h removalBrent Cook2016-09-041-2/+0
|
* cdefs.h should not be required anywhereBrent Cook2016-09-042-31/+16
|
* wire up sys/types.h to pull in sys/cdefs.hBrent Cook2016-09-041-0/+2
|
* fixup windows and older linux buildsBrent Cook2015-09-131-0/+10
|
* allow nc to build on linux and os xBrent Cook2015-09-131-10/+0
|
* updates for MSVC 2015's degenerate headersBrent Cook2015-09-092-0/+8
| | | | | | Note that 'perror' moves from stdio.h to stdlib.h, and 'rename' moves from stdio.h to io.h. Also, standard C includes move from the compiler to the Windows SDK, which changes the base path for the include files.
* tighten up compat include paths, fix glibc compatibilityBrent Cook2015-07-212-6/+7
|
* add initial CMake and Visual Studio build supportBrent Cook2015-07-2110-0/+267
This moves the compatibility include files from include to include/compat so we can use the awful MS C compiler <../include/> trick to emulate the GNU #include_next extension. This also removes a few old compat files we do not need anymore.