1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-22 01:02:20 -05:00

More consistently include config.h

This commit is contained in:
TingPing 2014-12-15 22:57:27 -05:00
parent 76c2cfebc3
commit aeb5d15871
22 changed files with 33 additions and 16 deletions

View File

@ -20,6 +20,8 @@
* THE SOFTWARE.
*/
#include "config.h"
#include <stdlib.h>
#include <glib.h>
#include <glib/gstdio.h>

View File

@ -5,6 +5,8 @@
* http://sam.zoy.org/wtfpl/COPYING or http://lwsitu.com/xchat/COPYING
* for more details. */
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

View File

@ -22,6 +22,8 @@
*/
#include "config.h"
#include <glib.h>
#include "irc.h"

View File

@ -22,6 +22,8 @@
*/
#include "config.h"
#include <glib.h>
#include <stdlib.h>
#include <string.h>

View File

@ -22,6 +22,8 @@
*/
#include "config.h"
#include <glib.h>
#include <stdlib.h>
#include <string.h>

View File

@ -32,7 +32,7 @@
#endif
#undef PACKAGE
#include "../../config.h"
#include "config.h"
#include "hexchat-plugin.h"

View File

@ -62,7 +62,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;PERL520_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(PerlPath)\lib\CORE;$(IntDir);..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(SolutionDir)..;$(PerlPath)\lib\CORE;$(IntDir);..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>
@ -91,7 +91,7 @@ move hexchat.pm.h "$(IntDir)"</Command>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;_USRDLL;PERL520_EXPORTS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(PerlPath)\lib\CORE;$(IntDir);..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(SolutionDir)..;$(PerlPath)\lib\CORE;$(IntDir);..\..\src\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
</ClCompile>
<Link>

View File

@ -51,6 +51,8 @@
*
*/
#include "config.h"
#include <glib.h>
#include <glib/gstdio.h>
#include <string.h>
@ -64,9 +66,9 @@
#include <dirent.h>
#endif
#include "../../config.h"
#include "hexchat-plugin.h"
#undef _POSIX_C_SOURCE /* Avoid warning: also in /usr/include/features.h from glib.h */
#undef _POSIX_C_SOURCE /* Avoid warnings from /usr/include/features.h */
#undef _XOPEN_SOURCE
#include <Python.h>
#include <structmember.h>
#include <pythread.h>

View File

@ -22,6 +22,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>

View File

@ -19,6 +19,8 @@
* xclaesse@gmail.com
*/
#include "config.h"
#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include <dbus/dbus-glib.h>
#include "dbus-client.h"

View File

@ -46,8 +46,6 @@
#include <unistd.h>
#endif
#include <gio/gio.h>
#include "hexchat.h"
#include "util.h"
#include "fe.h"

View File

@ -22,6 +22,7 @@
#include <glib.h>
#include <glib/gstdio.h>
#include <glib/gi18n.h>
#include <gio/gio.h>
#include <time.h> /* need time_t */

View File

@ -33,8 +33,6 @@
#define WANTDNS
#include "inet.h"
#include <gio/gio.h>
#include "hexchat.h"
#include "util.h"
#include "ignore.h"

View File

@ -47,7 +47,7 @@
#else
#include "../../config.h"
#include "config.h"
#ifdef USE_IPV6
#include <winsock2.h>
#include <ws2tcpip.h>

View File

@ -18,6 +18,8 @@
/* ipv4 and ipv6 networking functions with a common interface */
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
@ -26,7 +28,6 @@
#ifndef WIN32
#include <unistd.h>
#endif
#include "../../config.h"
#define WANTSOCKET
#define WANTARPA

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <glib.h>

View File

@ -29,7 +29,7 @@
#ifdef WIN32
#include <openssl/rand.h> /* RAND_seed() */
#endif
#include "../../config.h"
#include "config.h"
#include <time.h> /* asctime() */
#include <string.h> /* strncpy() */
#include "ssl.h" /* struct cert_info */

View File

@ -40,7 +40,7 @@
#include <sys/utsname.h>
#endif
#include "../../config.h"
#include "config.h"
#include <fcntl.h>
#include <errno.h>
#include "hexchat.h"

View File

@ -20,7 +20,7 @@
#ifndef HEXCHAT_FE_GTK_H
#define HEXCHAT_FE_GTK_H
#include "../../config.h"
#include "config.h"
#define DISPLAY_NAME "HexChat"

View File

@ -19,10 +19,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "sexy-iso-codes.h"
#include <libintl.h>
#include <string.h>
#include "../../config.h"
#define ISO_639_DOMAIN "iso_639"
#define ISO_3166_DOMAIN "iso_3166"

View File

@ -31,7 +31,7 @@
#include <stdlib.h>
#include <time.h>
#include "../../config.h"
#include "config.h"
#include "../common/hexchat.h"
#include "../common/fe.h"
#include "../common/util.h"

View File

@ -111,6 +111,7 @@ xcopy /q /s /i "$(DepsRoot)\share\locale" "$(HexChatRel)\share\locale"
<Optimization>MaxSpeed</Optimization>
<!--Optimization>MinSpace</Optimization-->
<!--Optimization>Full</Optimization-->
<AdditionalIncludeDirectories>$(SolutionDir)..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>