reshuffle included files to include config.h as first

config.h may contain defines like _FILE_OFFSET_BITS which influence
the system wide include files (off_t types, open -> open64 function
usage etc.).

Related: https://github.com/alsa-project/alsa-lib/pull/333
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2023-08-30 18:22:59 +02:00
parent 6142ff0ca7
commit ad3a8b8b31
77 changed files with 92 additions and 101 deletions

View file

@ -39,13 +39,13 @@ This is an abstraction layer over the hcontrol layer.
*/
#include "mixer_local.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include "mixer_local.h"
#ifndef DOC_HIDDEN
typedef struct _snd_mixer_slave {

View file

@ -29,6 +29,8 @@
*
*/
#include "mixer_local.h"
#include "mixer_simple.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@ -36,9 +38,6 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <math.h>
#include "config.h"
#include "mixer_local.h"
#include "mixer_simple.h"
/**
* \brief Register mixer simple element class

View file

@ -27,6 +27,8 @@
*
*/
#include "mixer_local.h"
#include "mixer_simple.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@ -35,8 +37,6 @@
#include <sys/ioctl.h>
#include <math.h>
#include <dlfcn.h>
#include "mixer_local.h"
#include "mixer_simple.h"
#ifndef DOC_HIDDEN

View file

@ -29,6 +29,8 @@
*
*/
#include "local.h"
#include "mixer_simple.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@ -38,9 +40,6 @@
#include <assert.h>
#include <math.h>
#include <limits.h>
#include "local.h"
#include "config.h"
#include "mixer_simple.h"
#ifndef DOC_HIDDEN