aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw
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/hw
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/hw')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/NXglyph.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c b/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
index 47db919ef..757ffff21 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
@@ -76,11 +76,7 @@
#endif
-#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