Skip to content

Commit

Permalink
Merge pull request #351 from sonninnos/libchdr-buildfix
Browse files Browse the repository at this point in the history
libchdr buildfix attempt
  • Loading branch information
LibretroAdmin authored May 14, 2024
2 parents c921b37 + cb156de commit c3bfcd0
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion core/cd_hw/libchdr/src/bitstream.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
***************************************************************************/

#include <stdlib.h>
#include <libchdr/bitstream.h>
#include "bitstream.h"

/***************************************************************************
* INLINE FUNCTIONS
Expand Down
2 changes: 1 addition & 1 deletion core/cd_hw/libchdr/src/cdrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <assert.h>
#include <string.h>

#include <libchdr/cdrom.h>
#include "cdrom.h"

#ifdef WANT_RAW_DATA_SECTOR

Expand Down
1 change: 0 additions & 1 deletion core/cd_hw/libchdr/src/cdrom.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#define __CDROM_H__

#include <stdint.h>
#include <libchdr/chdconfig.h>

/***************************************************************************
CONSTANTS
Expand Down
13 changes: 7 additions & 6 deletions core/cd_hw/libchdr/src/chd.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>

#include <libchdr/chd.h>
#include <libchdr/cdrom.h>
#include <libchdr/flac.h>
#include <libchdr/huffman.h>

#include "types.h"
#include "osd.h"
#include "macros.h"
#include "chd.h"
#include "cdrom.h"
#include "flac.h"
#include "huffman.h"
#include "zlib.h"
#include "LzmaEnc.h"
#include "LzmaDec.h"
Expand Down
3 changes: 1 addition & 2 deletions core/cd_hw/libchdr/src/chd.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
extern "C" {
#endif

#include <libchdr/coretypes.h>
#include <libchdr/chdconfig.h>
#include "coretypes.h"

/***************************************************************************
Expand Down
2 changes: 1 addition & 1 deletion core/cd_hw/libchdr/src/flac.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <assert.h>
#include <string.h>

#include <libchdr/flac.h>
#include "flac.h"
#define DR_FLAC_IMPLEMENTATION
#include <dr_libs/dr_flac.h>

Expand Down
2 changes: 1 addition & 1 deletion core/cd_hw/libchdr/src/huffman.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
#include <stdio.h>
#include <string.h>

#include <libchdr/huffman.h>
#include "huffman.h"

#define MAX(x,y) ((x) > (y) ? (x) : (y))

Expand Down
2 changes: 1 addition & 1 deletion core/cd_hw/libchdr/src/huffman.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#ifndef __HUFFMAN_H__
#define __HUFFMAN_H__

#include <libchdr/bitstream.h>
#include "bitstream.h"


/***************************************************************************
Expand Down

0 comments on commit c3bfcd0

Please sign in to comment.