Guard #include "config.h" with #ifdef HAVE_CONFIG_H
parent
ebd136b500
commit
c425e12db2
|
@ -14,7 +14,9 @@
|
|||
#ifndef __MOO_APP_ABOUT_H__
|
||||
#define __MOO_APP_ABOUT_H__
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_UTSNAME_H
|
||||
#include <sys/utsname.h>
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
* See COPYING file that comes with this distribution.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include "mooedit/moocommand-exe-private.h"
|
||||
#include "mooedit/mooeditor.h"
|
||||
#include "mooedit/mooedittools-glade.h"
|
||||
|
|
|
@ -12,7 +12,9 @@
|
|||
*/
|
||||
|
||||
#define MOOEDIT_COMPILATION
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include "mooedit/moolang-private.h"
|
||||
#include "mooutils/mooi18n.h"
|
||||
#include "gtksourceview/gtksourcelanguage-private.h"
|
||||
|
|
|
@ -12,7 +12,9 @@
|
|||
*/
|
||||
|
||||
#define MOOEDIT_COMPILATION
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include "mooedit/moolangmgr-private.h"
|
||||
#include "mooedit/moolang-private.h"
|
||||
#include "mooedit/mooeditprefs.h"
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
* See COPYING file that comes with this distribution.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include "mooedit/mooplugin-loader.h"
|
||||
#include "mooedit/mooplugin.h"
|
||||
#include "mooutils/mooutils-misc.h"
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
* See COPYING file that comes with this distribution.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include "completion.h"
|
||||
#include "mooedit/mooplugin-macro.h"
|
||||
#include "mooedit/plugins/mooeditplugins.h"
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
* See COPYING file that comes with this distribution.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include <Python.h>
|
||||
#define NO_IMPORT_PYGOBJECT
|
||||
#include "pygobject.h"
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
* See COPYING file that comes with this distribution.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include <Python.h>
|
||||
#define NO_IMPORT_PYGOBJECT
|
||||
#define NO_IMPORT_PYGTK
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
* See COPYING file that comes with this distribution.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include <Python.h>
|
||||
#define NO_IMPORT_PYGOBJECT
|
||||
#include "pygobject.h"
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
* See COPYING file that comes with this distribution.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include <Python.h>
|
||||
#include <pygobject.h>
|
||||
#include <pygtk/pygtk.h>
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
* See COPYING file that comes with this distribution.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include <Python.h>
|
||||
#define NO_IMPORT_PYGOBJECT
|
||||
#include <pygobject.h>
|
||||
|
|
|
@ -19,7 +19,9 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
#include "eggregex.h"
|
||||
|
|
|
@ -30,7 +30,9 @@
|
|||
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include "mooutils/moocompat.h"
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
@ -181,7 +183,7 @@ g_mkdir_with_parents (const gchar *pathname,
|
|||
#define environ (*_NSGetEnviron())
|
||||
#elif !defined(G_OS_WIN32)
|
||||
|
||||
/* According to the Single Unix Specification, environ is not in
|
||||
/* According to the Single Unix Specification, environ is not in
|
||||
* any system header, although unistd.h often declares it.
|
||||
*/
|
||||
extern char **environ;
|
||||
|
|
|
@ -33,7 +33,9 @@
|
|||
* gtkfontsel.* copied and modified to allow choosing monospace fonts
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <glib/gprintf.h>
|
||||
#include <string.h>
|
||||
|
|
Loading…
Reference in New Issue