Skip to content

Commit

Permalink
disp/caca: do not include config*.h
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPulec committed Mar 22, 2024
1 parent 3a46780 commit dd8b8c5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions src/video_display.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@
#include "types.h"

#ifndef __cplusplus
#include <limits.h> // LLONG_MAX
#include <stdbool.h>
#else
#include <climits> // LLONG_MAX
#endif // ! defined __cplusplus

#ifdef __cplusplus
Expand Down
12 changes: 7 additions & 5 deletions src/video_display/caca.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author Martin Pulec <[email protected]>
*/
/*
* Copyright (c) 2023 CESNET, z. s. p. o.
* Copyright (c) 2023-2024 CESNET, z. s. p. o.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -35,11 +35,13 @@
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include "config.h"
#include "config_unix.h"
#include "config_win32.h"

#include <caca.h>
#include <pthread.h> // for pthread_mutex_unlock, pthread_cond_destroy
#include <stdbool.h> // for bool, true, false
#include <stdio.h> // for snprintf
#include <stdlib.h> // for NULL, calloc, free, getenv, size_t
#include <string.h> // for strcmp, strlen, memcpy, strchr, strstr
#include <time.h> // for timespec_get, TIME_UTC, timespec

#include "debug.h"
#include "lib_common.h"
Expand Down

0 comments on commit dd8b8c5

Please sign in to comment.