Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
kolor-manager
0002-fix-header-includes-for-uint32_t-and-frien...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-fix-header-includes-for-uint32_t-and-friends.patch of Package kolor-manager
From 43bb8658ff74e5a1e089fbce7f4fa5c9cb4653bd Mon Sep 17 00:00:00 2001 From: Kai-Uwe Behrmann <ku.b@gmx.de> Date: Sun, 28 Sep 2014 22:39:39 +0200 Subject: fix header includes for uint32_t and friends X headers do not necessarily include stdint.h diff --git a/kolor-server/x11-helpers.h b/kolor-server/x11-helpers.h index 476cec0..1036ba9 100644 --- a/kolor-server/x11-helpers.h +++ b/kolor-server/x11-helpers.h @@ -29,6 +29,9 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef X11_HELPERS_H_ #define X11_HELPERS_H_ +#include <stdint.h> /* uint32_t */ +#include <arpa/inet.h> /* ntohl() */ + namespace X11 { #include <X11/Xlib.h> #include <X11/Xatom.h> @@ -44,14 +47,6 @@ namespace X11 { using X11::Atom; using X11::XcolorProfile; -using X11::intmax_t; -using X11::uint8_t; -using X11::uint16_t; -using X11::uint32_t; -using X11::uintmax_t; - -using X11::ntohl; -using X11::htonl; /*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor