Index: uspace/lib/posix/stdio.h
===================================================================
--- uspace/lib/posix/stdio.h	(revision fa9815d96be04a07b13d3182eaead802d5781f6d)
+++ uspace/lib/posix/stdio.h	(revision e3891262fb73ff8c937e92fe4eaab29f686d997d)
@@ -42,5 +42,7 @@
 
 /* Character Input/Output */
+#undef putc
 #define putc fputc
+#undef getc
 #define getc fgetc
 extern int posix_ungetc(int c, FILE *stream);
@@ -68,4 +70,7 @@
 
 /* Temporary Files */
+#undef L_tmpnam
+#define L_tmpnam PATH_MAX
+
 extern char *posix_tmpnam(char *s);
 
