[vlc-commits] [Git][videolan/vlc][master] compat: fix building clock_nanosleep function on OpenBSD
Steve Lhomme (@robUx4)
gitlab at videolan.org
Tue Feb 11 06:31:32 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
6af0992c by Brad Smith at 2025-02-11T06:16:23+00:00
compat: fix building clock_nanosleep function on OpenBSD
../compat/clock_nanosleep.c:46:9: error: use of undeclared identifier 'errno'
errno = EINVAL;
^
../compat/clock_nanosleep.c:56:13: error: use of undeclared identifier 'errno'
errno = EINVAL;
^
../compat/clock_nanosleep.c:94:9: error: use of undeclared identifier 'errno'
errno = EINVAL;
^
3 errors generated.
- - - - -
1 changed file:
- compat/clock_nanosleep.c
Changes:
=====================================
compat/clock_nanosleep.c
=====================================
@@ -28,7 +28,7 @@
#include <assert.h>
#include <pthread.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/sysctl.h>
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6af0992c18abf1802aec250c196fe2abb8f8342a
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6af0992c18abf1802aec250c196fe2abb8f8342a
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list