r21121 - gnucash/trunk/src/libqof/qof - Fix a weird include

Geert Janssens gjanssens at code.gnucash.org
Sun Aug 7 05:15:30 EDT 2011


Author: gjanssens
Date: 2011-08-07 05:15:30 -0400 (Sun, 07 Aug 2011)
New Revision: 21121
Trac: http://svn.gnucash.org/trac/changeset/21121

Modified:
   gnucash/trunk/src/libqof/qof/Makefile.am
   gnucash/trunk/src/libqof/qof/gnc-numeric.c
Log:
Fix a weird include

Modified: gnucash/trunk/src/libqof/qof/Makefile.am
===================================================================
--- gnucash/trunk/src/libqof/qof/Makefile.am	2011-08-07 09:15:12 UTC (rev 21120)
+++ gnucash/trunk/src/libqof/qof/Makefile.am	2011-08-07 09:15:30 UTC (rev 21121)
@@ -15,6 +15,7 @@
 
 libgnc_qof_la_SOURCES =  \
    gnc-date.c        \
+   qofmath128.c      \
    gnc-numeric.c     \
    guid.c            \
    kvp-util.c        \
@@ -77,13 +78,10 @@
    qofquerycore-p.h \
    qofsession-p.h
 
-EXTRA_DIST = \
-  qofmath128.c
-
 if OS_WIN32
 libgnc_qof_la_SOURCES += qof-win32.c
 else
-EXTRA_DIST += qof-win32.c
+EXTRA_DIST = qof-win32.c
 endif
 
 ## For testing the qofmath128 routines

Modified: gnucash/trunk/src/libqof/qof/gnc-numeric.c
===================================================================
--- gnucash/trunk/src/libqof/qof/gnc-numeric.c	2011-08-07 09:15:12 UTC (rev 21120)
+++ gnucash/trunk/src/libqof/qof/gnc-numeric.c	2011-08-07 09:15:30 UTC (rev 21121)
@@ -34,7 +34,7 @@
 #include <string.h>
 
 #include "gnc-numeric.h"
-#include "qofmath128.c" /* FIXME: Why is this C file included here?!? */
+#include "qofmath128-p.h"
 
 /* static short module = MOD_ENGINE; */
 



More information about the gnucash-changes mailing list