aboutsummaryrefslogtreecommitdiffstats
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-10-02 15:26:53 +0000
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-10-02 12:29:02 -0300
commita06fc4a53385709f80a866075f794646810b831e (patch)
tree64401595ab7124dedf30f8faa9c27de1fd8a5985 /sysdeps/unix
parenta1ccc0654b4e858022bed10f4fb5d5ab6df58b62 (diff)
downloadtermbaud-a06fc4a53385709f80a866075f794646810b831e.tar.gz
termbaud-a06fc4a53385709f80a866075f794646810b831e.tar.xz
termbaud-a06fc4a53385709f80a866075f794646810b831e.zip
Fix build from commit 0b727ed
* sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/fd_to_filename.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/fd_to_filename.h b/sysdeps/unix/sysv/linux/fd_to_filename.h
index 62bc9916b0..02476472af 100644
--- a/sysdeps/unix/sysv/linux/fd_to_filename.h
+++ b/sysdeps/unix/sysv/linux/fd_to_filename.h
@@ -17,6 +17,8 @@
<http://www.gnu.org/licenses/>. */
#include <sys/stat.h>
+#include <string.h>
+#include <_itoa.h>
#define FD_TO_FILENAME_SIZE ((sizeof ("/proc/self/fd/") - 1) \
+ (sizeof ("4294967295") - 1) + 1)