diff --git a/libsrc/cbm/Makefile b/libsrc/cbm/Makefile
index f98e5ff19..31a27ac2d 100644
--- a/libsrc/cbm/Makefile
+++ b/libsrc/cbm/Makefile
@@ -45,6 +45,7 @@ S_OBJS =	c_acptr.o	\
 		c_clall.o	\
 		c_close.o 	\
 		c_clrch.o 	\
+                c_getin.o       \
 		c_iobase.o	\
 		c_listen.o	\
 		c_load.o 	\
diff --git a/libsrc/cbm/c_k_getin.s b/libsrc/cbm/c_k_getin.s
new file mode 100644
index 000000000..db7c7bc56
--- /dev/null
+++ b/libsrc/cbm/c_k_getin.s
@@ -0,0 +1,14 @@
+;
+; Ullrich von Bassewitz, 2012-07-01
+;
+; unsigned char cbm_k_getin (void);
+;
+
+       	.export	       	_cbm_k_getin
+        .import         GETIN
+
+
+_cbm_k_getin:
+	jsr    	GETIN
+	ldx	#0
+	rts