From b0a858e50f4f7d4f21e9f90fcb3dcd169f17c270 Mon Sep 17 00:00:00 2001 From: Per Hedbor <ph@opera.com> Date: Mon, 18 Aug 2014 20:23:34 +0200 Subject: [PATCH] Fixed two errors with literal_X_string usage. --- src/modules/Fuse/fuse.c | 1 + src/post_modules/SDL/SDL.cmod | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/Fuse/fuse.c b/src/modules/Fuse/fuse.c index d20c0f9db6..1f3add4a5b 100644 --- a/src/modules/Fuse/fuse.c +++ b/src/modules/Fuse/fuse.c @@ -20,6 +20,7 @@ #include "program.h" #include "bignum.h" #include "backend.h" +#include "pike_types.h" #ifdef HAVE_LIBFUSE /* Attempt to use FUSE API version 2.9 (if possible). */ diff --git a/src/post_modules/SDL/SDL.cmod b/src/post_modules/SDL/SDL.cmod index e01fb3be1b..2d56cf58fc 100644 --- a/src/post_modules/SDL/SDL.cmod +++ b/src/post_modules/SDL/SDL.cmod @@ -469,7 +469,7 @@ PIKECLASS Rect { push_int(THIS->rect.w); push_int(THIS->rect.h); f_aggregate(4); - } else if( type == literla_mapping_string ) { + } else if( type == literal_mapping_string ) { push_text("x"); push_int(THIS->rect.x); push_text("y"); -- GitLab