[hackers] [st] Add stdint include || René Rietz

From: <git_AT_suckless.org>
Date: Mon, 25 Nov 2013 16:11:50 +0100

commit 08a3eea571f8e81b6820c18d30f9264b6ee6e08b
Author: René Rietz <rrietz_AT_informatik.tu-cottbus.de>
Date: Mon Nov 25 16:06:22 2013 +0100

    Add stdint include
    
    Since st is using now int32_t and uint32_t the inclusion of
    stdint or inttype is mandatory, because in other case the
    definition of these new types will not be known by the
    compiler.

diff --git a/st.c b/st.c
index 8f1b8d8..91eb2cc 100644
--- a/st.c
+++ b/st.c
_AT_@ -11,6 +11,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <signal.h>
+#include <stdint.h>
 #include <sys/ioctl.h>
 #include <sys/select.h>
 #include <sys/stat.h>
Received on Mon Nov 25 2013 - 16:11:50 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 25 2013 - 16:12:14 CET