From: Sebastien Bourdeauducq Date: Thu, 31 May 2012 18:16:24 +0000 (+0200) Subject: software/libbase: add some more types X-Git-Tag: 24jan2021_ls180~3143 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b13bc6ed6447650d0b97c55bdb78ecae4c638fdc;p=litex.git software/libbase: add some more types --- diff --git a/software/include/base/stdio.h b/software/include/base/stdio.h index c384f7bc..58c908ec 100644 --- a/software/include/base/stdio.h +++ b/software/include/base/stdio.h @@ -12,6 +12,12 @@ int sprintf(char *buf, const char *fmt, ...); int printf(const char *fmt, ...); +/* Not sure this belongs here... */ +typedef long long loff_t; +typedef long off_t; +typedef int mode_t; +typedef int dev_t; + /* * Note: this library does not provide FILE operations. * User code must implement them.