File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 33 * @author Michal Vasko <[email protected] > 44 * @brief compatibility functions
55 *
6- * Copyright (c) 2021 - 2023 CESNET, z.s.p.o.
6+ * Copyright (c) 2021 - 2025 CESNET, z.s.p.o.
77 *
88 * This source code is licensed under BSD 3-Clause License (the "License").
99 * You may not use this file except in compliance with the License.
1010 * You may obtain a copy of the License at
1111 *
1212 * https://opensource.org/licenses/BSD-3-Clause
1313 */
14- #define _POSIX_C_SOURCE 200809L /* fdopen, _POSIX_PATH_MAX, strdup */
14+ #if !defined (__FreeBSD__ ) /* hides getpeereid */
15+ # define _POSIX_C_SOURCE 200809L /* fdopen, _POSIX_PATH_MAX, strdup */
16+ #endif
1517#define _ISOC99_SOURCE /* vsnprintf */
1618#define _QNX_SOURCE /* getpeereid */
1719#define _GNU_SOURCE /* SO_PEERCRED */
You can’t perform that action at this time.
0 commit comments