Index: uspace/lib/libc/include/stdio.h
===================================================================
--- uspace/lib/libc/include/stdio.h	(revision 04b687b4dcf35f4a93146301dcdccbddbce24f33)
+++ uspace/lib/libc/include/stdio.h	(revision 63088cc191f35da85cac7fde793d96d9c3a51615)
@@ -90,4 +90,19 @@
 extern void clearerr(FILE *);
 
+extern int fgetc(FILE *);;
+extern int fputc(int, FILE *);
+extern int fputs(const char *, FILE *);
+
+#define getc fgetc
+#define putc fputc
+
+extern int fseek(FILE *, long, int);
+
+#ifndef SEEK_SET
+	#define SEEK_SET	0
+	#define SEEK_CUR	1
+	#define SEEK_END	2
+#endif
+
 #endif
 
Index: uspace/lib/libc/include/unistd.h
===================================================================
--- uspace/lib/libc/include/unistd.h	(revision 04b687b4dcf35f4a93146301dcdccbddbce24f33)
+++ uspace/lib/libc/include/unistd.h	(revision 63088cc191f35da85cac7fde793d96d9c3a51615)
@@ -45,7 +45,9 @@
 #define getpagesize()     (PAGE_SIZE)
 
-#define SEEK_SET	0
-#define SEEK_CUR	1
-#define SEEK_END	2
+#ifndef SEEK_SET
+	#define SEEK_SET	0
+	#define SEEK_CUR	1
+	#define SEEK_END	2
+#endif
 
 extern ssize_t write(int, const void *, size_t);
