Bug 54837

Summary: compile breakage in libgadu-config.h because stdint.h
Product: [Applications] kopete Reporter: brad <bkn>
Component: Gadu-Gadu PluginAssignee: Zack Rusin <zack>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: FreeBSD   
Latest Commit: Version Fixed In:

Description brad 2003-02-19 00:19:09 UTC
Version:           cvs (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          gcc2.95.3 
OS:          FreeBSD

wrap the line '#include <stdint.h>' like so

#ifdef HAVE_STDINT_H
#include<stdint.h>
#endif

This comiples at least.
Comment 1 Zack Rusin 2003-02-19 00:31:25 UTC
Subject: kdenonbeta/kopete/protocols/gadu/lib

CVS commit by zrusin: 

Wrap in ifdefs as noted by Chester B (thanks)
Please don't report compilation problems to bugzilla - use the list.

CCMAIL: 54837-done@bugs.kde.org, chester_b@ithryn.net


  M +3 -1      libgadu-config.h   1.2


--- kdenonbeta/kopete/protocols/gadu/lib/libgadu-config.h  #1.1:1.2
@@ -8,5 +8,7 @@
 #endif
 
-#include <stdint.h>
+#ifdef HAVE_STDINT_H
+#  include <stdint.h>
+#endif
 
 #endif