  
  #include "uECC.h"
  #include "uECC_vli.h"
-+#ifdef FEATURE_PERIPH_HWRNG
++#ifdef MODULE_PERIPH_HWRNG
 +#include "periph/hwrng.h"
 +#endif
  

     return 0;
 }
 
+#ifdef FEATURE_PERIPH_HWRNG
+
 int uECC_make_key(uint8_t *public_key,
                   uint8_t *private_key,

 
 #endif /* platform */
 
+#endif /* MODULE_PERIPH_HWRNG */
+
 #endif /* _UECC_PLATFORM_SPECIFIC_H_ */
diff --git a/uECC.c b/uECC.c
