mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Need lib/libc for missing libc function. Need to include localtime_r to get the declaration
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14812 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8da68a09a1
commit
e49d29690b
@ -17,6 +17,7 @@ AM_CFLAGS = \
|
|||||||
-I${top_srcdir}/src/network-utils \
|
-I${top_srcdir}/src/network-utils \
|
||||||
-I${top_srcdir}/src/app-utils \
|
-I${top_srcdir}/src/app-utils \
|
||||||
-I${top_srcdir}/src \
|
-I${top_srcdir}/src \
|
||||||
|
-I${top_srcdir}/lib/libc \
|
||||||
${GLIB_CFLAGS} \
|
${GLIB_CFLAGS} \
|
||||||
${GLADE_CFLAGS} \
|
${GLADE_CFLAGS} \
|
||||||
${GTK_CFLAGS} \
|
${GTK_CFLAGS} \
|
||||||
@ -176,6 +177,7 @@ libgncmod_gnome_utils_la_LIBADD = \
|
|||||||
${top_builddir}/src/calculation/libgncmod-calculation.la \
|
${top_builddir}/src/calculation/libgncmod-calculation.la \
|
||||||
${top_builddir}/src/network-utils/libgncmod-network-utils.la \
|
${top_builddir}/src/network-utils/libgncmod-network-utils.la \
|
||||||
${top_builddir}/src/app-utils/libgncmod-app-utils.la \
|
${top_builddir}/src/app-utils/libgncmod-app-utils.la \
|
||||||
|
$(top_builddir)/lib/libc/libc-missing.la \
|
||||||
${GNOME_LIBS} \
|
${GNOME_LIBS} \
|
||||||
${GNOME_PRINT_LIBS} \
|
${GNOME_PRINT_LIBS} \
|
||||||
${GTKHTML_LIBS} \
|
${GTKHTML_LIBS} \
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
#include "gnc-date-format.h"
|
#include "gnc-date-format.h"
|
||||||
#include "dialog-utils.h"
|
#include "dialog-utils.h"
|
||||||
|
|
||||||
|
#ifndef HAVE_LOCALTIME_R
|
||||||
|
# include "localtime_r.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Perhaps it's better just to use MAX_DATE_LENGTH defined in gnc-date.h */
|
/* Perhaps it's better just to use MAX_DATE_LENGTH defined in gnc-date.h */
|
||||||
#define MAX_DATE_LEN 80
|
#define MAX_DATE_LEN 80
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user