]> git.sur5r.net Git - openocd/blobdiff - src/helper/replacements.c
print out an error if srst_pulls_trst is not specified for
[openocd] / src / helper / replacements.c
index 49f12d7844c73f0799755463b1be73249c7e0190..bebca28e22c9224c7a457bdf3937feb94bfa931f 100644 (file)
 /* DANGER!!!! These must be defined *BEFORE* replacements.h and the malloc() macro!!!! */
 
 #include <stdlib.h>
+#include <string.h>
+#ifdef HAVE_STRINGS_H
 #include <strings.h>
+#endif
 /* 
  * clear_malloc
  *