summaryrefslogtreecommitdiff
path: root/bsp/libwrap/sys/fstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/libwrap/sys/fstat.c')
-rw-r--r--bsp/libwrap/sys/fstat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsp/libwrap/sys/fstat.c b/bsp/libwrap/sys/fstat.c
index 6ea3e6a..ff82bf9 100644
--- a/bsp/libwrap/sys/fstat.c
+++ b/bsp/libwrap/sys/fstat.c
@@ -4,6 +4,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include "stub.h"
+#include "weak_under_alias.h"
int __wrap_fstat(int fd, struct stat* st)
{
@@ -14,3 +15,4 @@ int __wrap_fstat(int fd, struct stat* st)
return _stub(EBADF);
}
+weak_under_alias(fstat);