diff --git a/libavformat/cutils.c b/libavformat/cutils.c
index eeeef51464afbbe74e8f168b25400fc93d40111a..394d71ea9bfbb170a0274fc458a7d4fc38e46661 100644
--- a/libavformat/cutils.c
+++ b/libavformat/cutils.c
@@ -20,7 +20,6 @@
  */
 #include "avformat.h"
 
-#if !defined(CONFIG_NOCUTILS)
 /**
  * Return TRUE if val is a prefix of str. If it returns TRUE, ptr is
  * set to the next character in 'str' after the prefix.
@@ -84,8 +83,6 @@ char *pstrcat(char *buf, int buf_size, const char *s)
     return buf;
 }
 
-#endif
-
 /* add one element to a dynamic array */
 void __dynarray_add(unsigned long **tab_ptr, int *nb_ptr, unsigned long elem)
 {