summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2024-04-15 09:07:41 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2024-04-15 09:07:41 +0100
commitdd4c0109a93eee6830d55612f106a711dfd83791 (patch)
tree488d8f4655491e51abc20b9de2fb70de2eaae64a /compat.h
parent43530d4397f94beed27acb8f5610338b6dbcc05a (diff)
Missing headers for Android, from Biswapriyo Nath.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index 720cd909..f33dcf1a 100644
--- a/compat.h
+++ b/compat.h
@@ -289,6 +289,11 @@ void explicit_bzero(void *, size_t);
int getdtablecount(void);
#endif
+#ifndef HAVE_GETDTABLESIZE
+/* getdtablesize.c */
+int getdtablesize(void);
+#endif
+
#ifndef HAVE_CLOSEFROM
/* closefrom.c */
void closefrom(int);