From 29d38a966d0167835018f965abdd818d823286f6 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 1 Jun 2014 09:06:12 +0000
Subject: [PATCH] missing fputs

---
 contrib/mobile/iOS/Onelab/emulatorFix.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/contrib/mobile/iOS/Onelab/emulatorFix.c b/contrib/mobile/iOS/Onelab/emulatorFix.c
index 3d57d08d4d..799aae4359 100644
--- a/contrib/mobile/iOS/Onelab/emulatorFix.c
+++ b/contrib/mobile/iOS/Onelab/emulatorFix.c
@@ -27,6 +27,11 @@ FILE *fopen$UNIX2003(const char * filename, const char *mode)
     return fopen(filename, mode);
 }
 
+int fputs$UNIX2003(const char * filename, FILE *file)
+{
+  return fputs(filename, file);
+}
+
 int stat$INODE64(const char * filename, struct stat *buff)
 {
     return stat(filename,buff);
@@ -128,4 +133,4 @@ int fstat$INODE64(int fildes, struct stat *buf)
 ssize_t send$UNIX2003(int socket, const void *buffer, size_t length, int flags)
 {
     return send(socket, buffer, length, flags);
-}
\ No newline at end of file
+}
-- 
GitLab