diff options
author | Jeff Garzik <jeff@garzik.org> | 2011-03-20 22:44:25 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-03-20 22:44:25 -0400 |
commit | 23e9cf91f09fa3ec364b439787f768f314780b85 (patch) | |
tree | 21ee62f827e5447d76b2ff0a57c0d5cd1d11795d /sha256_generic.c | |
parent | 24afd61775b957009619e0d3a5948492bdf5539e (diff) |
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.
Diffstat (limited to 'sha256_generic.c')
-rw-r--r-- | sha256_generic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sha256_generic.c b/sha256_generic.c index b30b326..789b20e 100644 --- a/sha256_generic.c +++ b/sha256_generic.c @@ -18,6 +18,8 @@ * */ +#include "cpuminer-config.h" + #include <stdint.h> #include <stdbool.h> #include <stdlib.h> |