mirror of
https://github.com/libretro/RetroArch
synced 2025-03-05 19:13:45 +00:00
Make hash.c dependent on miscellaneous.h and not on general.h
This commit is contained in:
parent
cf20416aab
commit
389f255227
@ -19,7 +19,6 @@
|
||||
|
||||
#include "boolean.h"
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <limits.h>
|
||||
#include <setjmp.h>
|
||||
#include "driver.h"
|
||||
@ -52,15 +51,9 @@
|
||||
// Platform-specific headers
|
||||
// PS3
|
||||
#if defined(__CELLOS_LV2__) && !defined(__PSL1GHT__)
|
||||
#include <sys/timer.h>
|
||||
#include "ps3/ps3_input.h"
|
||||
#endif
|
||||
|
||||
// libxenon
|
||||
#ifdef XENON
|
||||
#include <time/time.h>
|
||||
#endif
|
||||
|
||||
// Windows
|
||||
#ifdef _WIN32
|
||||
#ifdef _XBOX
|
||||
|
4
hash.c
4
hash.c
@ -16,10 +16,10 @@
|
||||
// SHA256 implementation from bSNES. Written by valditx.
|
||||
//
|
||||
|
||||
#include "general.h"
|
||||
#include "hash.h"
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include "hash.h"
|
||||
#include "miscellaneous.h"
|
||||
|
||||
#define SWAP32(x) ((uint32_t)( \
|
||||
(((uint32_t)(x) & 0x000000ff) << 24) | \
|
||||
|
@ -17,6 +17,14 @@
|
||||
#ifndef __RARCH_MISCELLANEOUS_H
|
||||
#define __RARCH_MISCELLANEOUS_H
|
||||
|
||||
#if defined(__CELLOS_LV2__) && !defined(__PSL1GHT__)
|
||||
#include <sys/timer.h>
|
||||
#elif defined(XENON)
|
||||
#include <time/time.h>
|
||||
#else
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
#include "retroarch_logger.h"
|
||||
|
||||
#ifndef max
|
||||
|
Loading…
x
Reference in New Issue
Block a user