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

@ -4,7 +4,7 @@
* helpful to verify the information reported by drivers.
*/
#include "../include/config.h"
#include "config.h"
#include <stdio.h>
#if HAVE_MALLOC_H
#include <malloc.h>

View file

@ -2,6 +2,7 @@
* channel mapping API test program
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -1,3 +1,4 @@
#include "config.h"
#include <stdio.h>
#include <string.h>
#include "../include/asoundlib.h"

View file

@ -27,6 +27,7 @@
*
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -2,6 +2,8 @@
* This small demo sends a simple sinusoidal wave to your speakers.
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -34,6 +34,8 @@
*
*/
#include "config.h"
#include <stdio.h>
#include <ctype.h>
#include <fcntl.h>

View file

@ -1,3 +1,5 @@
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -1,3 +1,4 @@
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View file

@ -7,6 +7,7 @@
* Licensed under the terms of the GNU General Public License, version 2.
*/
#include "config.h"
#include "../include/asoundlib.h"
#include <sound/tlv.h>
#include <stdbool.h>