diff options
author | NRK <nrk@disroot.org> | 2023-10-19 20:26:26 +0600 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-10-20 21:31:09 +0200 |
commit | d05ef7fdc4eb527a940a1ec7449e8c5bf60f5862 (patch) | |
tree | 49a5e8f5bd1c07d890c8944728ee4985b68686f7 /video/out/x11_common.h | |
parent | 450a69b1d6592d8bc45c28250b86ba4a8b1d8e54 (diff) | |
download | mpv-d05ef7fdc4eb527a940a1ec7449e8c5bf60f5862.tar.bz2 mpv-d05ef7fdc4eb527a940a1ec7449e8c5bf60f5862.tar.xz |
various: sort some standard headers
since i was going to fix the include order of stdatomic, might as well
sort the surrouding includes in accordance with the project's coding
style.
some headers can sometime require specific include order. standard
library headers usually don't. but mpv might "hack into" the standard
headers (e.g pthreads) so that complicates things a bit more.
hopefully nothing breaks. if it does, the style guide is to blame.
Diffstat (limited to 'video/out/x11_common.h')
-rw-r--r-- | video/out/x11_common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/video/out/x11_common.h b/video/out/x11_common.h index cf92de58f8..62a96d7043 100644 --- a/video/out/x11_common.h +++ b/video/out/x11_common.h @@ -18,13 +18,14 @@ #ifndef MPLAYER_X11_COMMON_H #define MPLAYER_X11_COMMON_H -#include <stdint.h> +#include <stdatomic.h> #include <stdbool.h> +#include <stdint.h> + #include <X11/Xlib.h> #include <X11/Xutil.h> #include "common/common.h" -#include <stdatomic.h> #include "config.h" #if !HAVE_GPL |