diff --git a/.gitattributes b/.gitattributes
index 7b7189fd8351e64e41f3ad0acd3bf0d872ed4190..763a7a1027f6516cd900242e716fd8d1a90249e3 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -3,6 +3,7 @@
 /configure -text
 /configure.in -text
 /configure_for_cgc -text
+/configure_for_cinderella -text
 example/Makefile.in -text
 example/callback.c -text
 inferfn/Makefile.in -text
diff --git a/configure_for_cinderella b/configure_for_cinderella
new file mode 100755
index 0000000000000000000000000000000000000000..3c0815e42184719e0023b820c414e0fe9d2847bc
--- /dev/null
+++ b/configure_for_cinderella
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+# pickup the CGC syscalls
+./configure_for_cgc --enable-inferfn
diff --git a/inferfn/infer.c b/inferfn/infer.c
index 2eff3c8583dbec9ad884234556d50c0b677ed020..9eade6487b1893e3004fd8209d860ad06e795f8c 100644
--- a/inferfn/infer.c
+++ b/inferfn/infer.c
@@ -29,7 +29,7 @@ static void clear_response(struct response *res)
 
 static void send_response(const int fd, struct response *res)
 {
-	write(fd, res, sizeof(struct response));
+	cgc_transmit(fd, res, sizeof(struct response));
 }
 
 static void send_error_response(const int fd)
@@ -208,7 +208,7 @@ void commandLoop()
 
 	do {
 		clear_request(&req); 
-		read(fdin, &req, sizeof(struct request));
+		cgc_receive(fdin, &req, sizeof(struct request));
 		done = handleCommand(fdout, &req, &res);
 	} while (!done);
 }