diff options
Diffstat (limited to 'test/testgetdevices.c.in')
-rwxr-xr-x | test/testgetdevices.c.in | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/testgetdevices.c.in b/test/testgetdevices.c.in index 85b799b0..bf376dbd 100755 --- a/test/testgetdevices.c.in +++ b/test/testgetdevices.c.in @@ -20,12 +20,9 @@ and cdio_free_device_list() */ #ifdef HAVE_CONFIG_H -# include "config.h" -# define __CDIO_CONFIG_H__ 1 +#include "config.h" +#define __CDIO_CONFIG_H__ 1 #endif -#include <cdio/cdio.h> -#include <cdio/cd_types.h> -#include <cdio/logging.h> #ifdef HAVE_STDIO_H #include <stdio.h> @@ -42,14 +39,18 @@ #ifdef HAVE_UNISTD_H #include <unistd.h> #endif - +#ifdef HAVE_STRING_H #include <string.h> +#endif + +#include <cdio/cdio.h> +#include <cdio/cd_types.h> +#include <cdio/logging.h> #ifndef DATA_DIR #define DATA_DIR "@abs_top_srcdir@/test/data/" #endif - static void log_handler (cdio_log_level_t level, const char message[]) { |