--- a/Makefile.am
+++ b/Makefile.am
@@ -56,7 +56,7 @@
     libupnpp/base64.hxx \
     libupnpp/base64.cxx \
     libupnpp/expatmm.hxx \
-    libupnpp/getsyshwaddr.cxx \
+    libupnpp/getsyshwaddr.c \
     libupnpp/getsyshwaddr.h \
     libupnpp/ixmlwrap.cxx \
     libupnpp/ixmlwrap.hxx \