blob: 10a6ba03ae0bccf8abc0ad386d6444295a7bcff2 [file] [log] [blame]
From e218d5a0a545ebb9623d62da5cfca478f9c90fce Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 8 Jun 2017 23:11:31 -0700
Subject: [PATCH] Undefine open64 and fopen64
Since the signatures do not match with libc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
esddsp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/esddsp.c b/esddsp.c
index d3c6ea9..17b5949 100644
--- a/esddsp.c
+++ b/esddsp.c
@@ -290,6 +290,7 @@ open (const char *pathname, int flags, ...)
return open_wrapper(func, pathname, flags, mode);
}
+#undef open64
int
open64 (const char *pathname, int flags, ...)
{
@@ -374,6 +375,7 @@ fopen (const char *path, const char *mode)
return fopen_wrapper(func, path, mode);
}
+#undef fopen64
FILE *
fopen64 (const char *path, const char *mode)
{