diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-05-25 04:00:15 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2011-05-26 08:17:21 -0700 |
commit | d657d09149a383bf13b398ded2a75ce951fd9a8d (patch) | |
tree | 3a932b4030b11664dbe534f06476161d0fd6b9ea | |
parent | 0796c3ad0dc1a2a0e42ca3b2c7b0cfd4016fc9e4 (diff) |
xts5: Fix missing string.h include.
It is needed for strcmp():
| CC checkfont.lo
| checkfont.c:492:16: warning: implicit declaration of function 'strcmp' is invalid in C99 [-Wimplicit-function-declaration]
| if (str && strcmp(teststr, str) != 0) {
| ^
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Tested-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-rw-r--r-- | xts5/src/lib/checkfont.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xts5/src/lib/checkfont.c b/xts5/src/lib/checkfont.c index e1c56246..094972d7 100644 --- a/xts5/src/lib/checkfont.c +++ b/xts5/src/lib/checkfont.c @@ -118,6 +118,7 @@ purpose. It is provided "as is" without express or implied warranty. #include "stdlib.h" #include "stdio.h" +#include "string.h" #include "xtest.h" #include "X11/Xlib.h" #include "X11/Xutil.h" |