]> git.sur5r.net Git - u-boot/commitdiff
lib: div64: add missing include
authorJeroen Hofstee <jeroen@myspectrum.nl>
Sun, 22 Jun 2014 21:24:04 +0000 (23:24 +0200)
committerTom Rini <trini@ti.com>
Fri, 18 Jul 2014 21:53:22 +0000 (17:53 -0400)
Include the function its prototype to prevent the warning
that it has no prototype.

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
lib/div64.c

index e688a91200d8622457400c6e3340b72dacc10dd5..795ef0e1e4671ac7a68a189839d48028353c1c29 100644 (file)
@@ -16,6 +16,7 @@
  * assembly versions such as arch/powerpc/lib/div64.S and arch/sh/lib/div64.S.
  */
 
+#include <div64.h>
 #include <linux/types.h>
 
 uint32_t __div64_32(uint64_t *n, uint32_t base)