diff --git a/Makefile.am b/Makefile.am
index 47eed0b7a030ac38cd4f7de5dcbb09cf17b5f836..8748ee06fc8a9b002018a93b732eb524c45873b4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,7 +67,6 @@ HEADERS_include = \
 	include/configuration.h \
 	include/darwin_specific.h \
 	include/codecs.h \
-	include/error.h \
 	include/encoder.h \
 	include/input_ext-dec.h \
 	include/input_ext-intf.h \
@@ -90,6 +89,7 @@ HEADERS_include = \
 	include/vlc_common.h \
 	include/vlc_config.h \
 	include/vlc_cpu.h \
+	include/vlc_error.h \
 	include/vlc_interface.h \
 	include/vlc_messages.h \
 	include/vlc_objects.h \