Ensure cpuminer-config.h is universally included, in *.c and *.h alike.
In miner.h, this fixes an alloca-definition-related warning. For the other files, this is simply future-proofing/precaution.
This commit is contained in:
parent
24afd61775
commit
23e9cf91f0
6 changed files with 11 additions and 0 deletions
2
miner.h
2
miner.h
|
@ -1,6 +1,8 @@
|
|||
#ifndef __MINER_H__
|
||||
#define __MINER_H__
|
||||
|
||||
#include "cpuminer-config.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/time.h>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
// tcatm's 4-way 128-bit SSE2 SHA-256
|
||||
|
||||
#include "cpuminer-config.h"
|
||||
#include "miner.h"
|
||||
|
||||
#ifdef WANT_SSE2_4WAY
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
#include "cpuminer-config.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "cpuminer-config.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include "cpuminer-config.h"
|
||||
|
||||
#include "miner.h"
|
||||
|
||||
#ifdef WANT_X8664_SSE2
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
#include "cpuminer-config.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
Loading…
Reference in a new issue