summaryrefslogtreecommitdiff
path: root/examples/eepro100_eeprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/eepro100_eeprom.c')
-rw-r--r--examples/eepro100_eeprom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/eepro100_eeprom.c b/examples/eepro100_eeprom.c
index a52e68d..2b15d05 100644
--- a/examples/eepro100_eeprom.c
+++ b/examples/eepro100_eeprom.c
@@ -17,8 +17,9 @@
* and release the resulting code under the GPL.
*/
-#define _PPC_STRING_H_ /* avoid unnecessary str/mem functions */
-#define _LINUX_STRING_H_ /* avoid unnecessary str/mem functions */
+/* avoid unnecessary memcpy function */
+#define __HAVE_ARCH_MEMCPY
+#define _PPC_STRING_H_
#include <common.h>
#include <exports.h>