--- a/src/unix/unix_c/unix_lseek_job.c
+++ b/src/unix/unix_c/unix_lseek_job.c
@@ -92,7 +92,7 @@
 }
 
 /* The function building the caml result. */
-static value result_lseek(struct job_lseek* job)
+__attribute__((noinline)) static value result_lseek(struct job_lseek* job)
 {
   value result;
   /* Check for errors. */
@@ -113,7 +113,7 @@
 }
 
 /* The function building the caml result. */
-static value result_lseek_64(struct job_lseek* job)
+__attribute__((noinline))  static value result_lseek_64(struct job_lseek* job)
 {
   value result;
   /* Check for errors. */
