aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xext/sampleEVI.c
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/Xext/sampleEVI.c
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/Xext/sampleEVI.c')
-rw-r--r--nx-X11/programs/Xserver/Xext/sampleEVI.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/Xext/sampleEVI.c b/nx-X11/programs/Xserver/Xext/sampleEVI.c
index 598992742..961c108f9 100644
--- a/nx-X11/programs/Xserver/Xext/sampleEVI.c
+++ b/nx-X11/programs/Xserver/Xext/sampleEVI.c
@@ -37,11 +37,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "EVIstruct.h"
#include "scrnintstr.h"
-#if HAVE_STDINT_H
#include <stdint.h>
-#elif !defined(UINT32_MAX)
-#define UINT32_MAX 0xffffffffU
-#endif
static int sampleGetVisualInfo(
VisualID32 *visual,