aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/render
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-03-21 16:11:46 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-05-02 15:38:34 +0200
commitce8fb1f93f71246462d5692c42c88989eb32b1d2 (patch)
treea2b42dedd792d02f8d1c0fae4190526daa0886aa /nx-X11/programs/Xserver/render
parente3e451629b00ab589f8720d498089dba0447cf8f (diff)
downloadnx-libs-ce8fb1f93f71246462d5692c42c88989eb32b1d2.tar.gz
nx-libs-ce8fb1f93f71246462d5692c42c88989eb32b1d2.tar.bz2
nx-libs-ce8fb1f93f71246462d5692c42c88989eb32b1d2.zip
HAVE_STDINT_H: Always include <stdint.h>.
We don't define HAVE_STDINT_H anywhere and it should be more safe using the system's definition of UINT32_MAX.
Diffstat (limited to 'nx-X11/programs/Xserver/render')
-rw-r--r--nx-X11/programs/Xserver/render/glyph.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/render/glyph.c b/nx-X11/programs/Xserver/render/glyph.c
index 900cf9844..f15b199b5 100644
--- a/nx-X11/programs/Xserver/render/glyph.c
+++ b/nx-X11/programs/Xserver/render/glyph.c
@@ -43,11 +43,7 @@
#include "picturestr.h"
#include "glyphstr.h"
-#if HAVE_STDINT_H
#include <stdint.h>
-#elif !defined(UINT32_MAX)
-#define UINT32_MAX 0xffffffffU
-#endif
/*
* From Knuth -- a good choice for hash/rehash values is p, p-2 where