diff --git a/sm5/CHANGELOG b/sm5/CHANGELOG
index 6d92ed58a49bd903cd7f14dd6ebf023d1d5f1d76..dc551db2074badb2c4536f3a6faff71c4b75e21b 100644
--- a/sm5/CHANGELOG
+++ b/sm5/CHANGELOG
@@ -1,6 +1,6 @@
 CHANGELOG for smartmontools
 
-$Id: CHANGELOG,v 1.820 2009/07/10 20:14:38 chrfranke Exp $
+$Id: CHANGELOG,v 1.821 2009/07/10 21:22:33 chrfranke Exp $
 
 The most recent version of this file is:
 http://smartmontools.cvs.sourceforge.net/smartmontools/sm5/CHANGELOG?view=markup
@@ -41,6 +41,8 @@ NOTES FOR FUTURE RELEASES: see TODO file.
 
 <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
 
+  [CF] Makefile.am: Add missing 'megaraid.h'.
+
   [CF] smartd: Add '!' flag to '-r' and '-R' directives. If specified,
        message is logged as LOG_CRIT and warning mail is sent if
        attribute normalized or raw value changes.
diff --git a/sm5/Makefile.am b/sm5/Makefile.am
index 466a290327dc21eb033783996a1b3ad82f6c416a..180ebe9787c6d0b165cc348f942e0ffeab84fbfb 100644
--- a/sm5/Makefile.am
+++ b/sm5/Makefile.am
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 #
-# $Id: Makefile.am,v 1.95 2009/03/22 17:17:39 chrfranke Exp $
+# $Id: Makefile.am,v 1.96 2009/07/10 21:22:33 chrfranke Exp $
 #
 
 @SET_MAKE@
@@ -64,7 +64,8 @@ EXTRA_smartd_SOURCES = os_darwin.cpp    \
                        os_generic.h     \
                        cciss.cpp        \
                        cciss.h          \
-                       dev_legacy.cpp
+                       dev_legacy.cpp   \
+                       megaraid.h
 
 
 if OS_WIN32_MINGW
@@ -133,7 +134,8 @@ EXTRA_smartctl_SOURCES = os_linux.cpp \
                        os_generic.h   \
                        cciss.cpp      \
                        cciss.h        \
-                       dev_legacy.cpp
+                       dev_legacy.cpp \
+                       megaraid.h
 
 if OS_WIN32_MINGW