mirror of https://github.com/GNOME/gimp.git
app/errors.c app/main.c app/file/gimprecentlist.c libgimp/gimp.c
2006-05-29 Manish Singh <yosh@gimp.org> * app/errors.c * app/main.c * app/file/gimprecentlist.c * libgimp/gimp.c * libgimpbase/gimpsignal.c * modules/cdisplay_lcms.c * modules/cdisplay_proof.c * modules/controller_midi.c * plug-ins/common/gqbist.c * plug-ins/metadata/xmp-schemas.h: miscellaneous fixes for building with -ansi -pedantic. Mostly #define _FOO_SOURCE stuff. Thanks to Daniel Richard G. for the patch. Fixes bug #342390.
This commit is contained in:
parent
76596605cd
commit
c7ba1223c3
15
ChangeLog
15
ChangeLog
|
@ -1,3 +1,18 @@
|
|||
2006-05-29 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* app/errors.c
|
||||
* app/main.c
|
||||
* app/file/gimprecentlist.c
|
||||
* libgimp/gimp.c
|
||||
* libgimpbase/gimpsignal.c
|
||||
* modules/cdisplay_lcms.c
|
||||
* modules/cdisplay_proof.c
|
||||
* modules/controller_midi.c
|
||||
* plug-ins/common/gqbist.c
|
||||
* plug-ins/metadata/xmp-schemas.h: miscellaneous fixes for building
|
||||
with -ansi -pedantic. Mostly #define _FOO_SOURCE stuff. Thanks to
|
||||
Daniel Richard G. for the patch. Fixes bug #342390.
|
||||
|
||||
2006-05-30 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* libgimpwidgets/gimpwidgets.def: Sync.
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#define _POSIX_SOURCE /* need the POSIX signal API */
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#define _SVID_SOURCE /* need lockf() and F_TLOCK/F_ULOCK */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
|
|
@ -18,6 +18,9 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#define _POSIX_SOURCE /* all the sigaction stuff is POSIX */
|
||||
#define _SVID_SOURCE /* except for SA_RESTART, it seems */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#define _POSIX_SOURCE /* all the sigaction stuff is POSIX */
|
||||
#define _SVID_SOURCE /* except for SA_RESTART, it seems */
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#define __POSIX_SOURCE /* all the sigaction stuff is POSIX */
|
||||
#define _POSIX_C_SOURCE 199309L /* all the sigaction stuff is POSIX */
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h> /* lcms.h uses the "inline" keyword */
|
||||
|
||||
#ifdef HAVE_LCMS_LCMS_H
|
||||
#include <lcms/lcms.h>
|
||||
#else
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib.h> /* lcms.h uses the "inline" keyword */
|
||||
|
||||
#ifdef HAVE_LCMS_LCMS_H
|
||||
#include <lcms/lcms.h>
|
||||
#else
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#define _BSD_SOURCE /* the ALSA headers need this */
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -29,7 +29,10 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#define _POSIX_SOURCE /* need PATH_MAX */
|
||||
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
|
@ -38,8 +41,8 @@
|
|||
|
||||
#include "libgimp/stdplugins-intl.h"
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX _MAX_PATH
|
||||
#if ! defined PATH_MAX && defined _MAX_PATH
|
||||
# define PATH_MAX _MAX_PATH
|
||||
#endif
|
||||
|
||||
/** qbist renderer ***********************************************************/
|
||||
|
|
|
@ -103,7 +103,7 @@ typedef struct
|
|||
#define XMP_PREFIX_IPTC_CORE "Iptc4xmpCore"
|
||||
|
||||
/* List of known XMP schemas and their properties */
|
||||
XMPSchema * const xmp_schemas;
|
||||
extern XMPSchema * const xmp_schemas;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in New Issue