diff --git a/src/missing.c b/src/missing.c
index d6a38fc096cc4b54b50c53e07b2c9e7fa1c1a97e..06c2b1b19de0ba47cacc8fdb069090af26356ba8 100644
--- a/src/missing.c
+++ b/src/missing.c
@@ -294,9 +294,10 @@ char *vlc_sdp_Start (vlc_object_t *obj, const char *cfg,
 {
     return NULL;
 }
+#endif /* !ENABLE_SOUT */
 
-# ifndef ENABLE_VLM
-#  include <vlc_vlm.h>
+#ifndef ENABLE_VLM
+# include <vlc_vlm.h>
 
 int vlm_Control (vlm_t *vlm, int query, ...)
 {
@@ -333,6 +334,4 @@ vlm_t *__vlm_New (vlc_object_t *obj)
      msg_Err (obj, "VLM not compiled-in!");
      return NULL;
 }
-
-# endif /* !ENABLE_VLM */
-#endif /* !ENABLE_SOUT */
+#endif /* !ENABLE_VLM */