Bug 54837 - compile breakage in libgadu-config.h because stdint.h
Summary: compile breakage in libgadu-config.h because stdint.h
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: Gadu-Gadu Plugin (show other bugs)
Version: unspecified
Platform: Compiled Sources FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Zack Rusin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 00:19 UTC by brad
Modified: 2003-02-19 00:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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