Index: uspace/lib/posix/string.c
===================================================================
--- uspace/lib/posix/string.c	(revision 517cedc0f79788b977a0fad26e8758ecb7780abc)
+++ uspace/lib/posix/string.c	(revision b52ef5a4bc99ab644419f72cb6321de0ce3c86ff)
@@ -38,8 +38,9 @@
 #include "string.h"
 
-#include <assert.h>
-#include <str_error.h>
-#include <stdlib.h>
-#include <errno.h>
+#include "libc/assert.h"
+#include "libc/str_error.h"
+#include "errno.h"
+#include "limits.h"
+#include "stdlib.h"
 
 /**
@@ -225,6 +226,5 @@
 char *posix_strdup(const char *s)
 {
-	// FIXME: SIZE_MAX doesn't work
-	return posix_strndup(s, STR_NO_LIMIT);
+	return posix_strndup(s, SIZE_MAX);
 }
 
