1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-22 08:05:20 +02:00

fw/hash.h: only #include avr/pgmspace.h when building for AVR (and not for host)

This commit is contained in:
Werner Almesberger 2012-06-29 15:20:16 -03:00
parent a924364311
commit 65fbf733c3

View File

@ -15,7 +15,9 @@
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#ifdef __AVR__
#include <avr/pgmspace.h> #include <avr/pgmspace.h>
#endif /* __AVR__ */
#include "hash.h" #include "hash.h"