chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] small patch for test-cairo of cairo egg


From: Markus Klotzbuecher
Subject: [Chicken-users] small patch for test-cairo of cairo egg
Date: Fri, 24 Sep 2010 15:19:17 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hi All,

I tried the test-cairo program from the cairo egg and it failed to
compile because of a wrong SDL header. The attached little patch fixes
this for me (debian testing, libsdl-dev 1.2.14-6).

Best regards
Markus


diff --git a/test-cairo.scm b/test-cairo.scm
index 7fede23..aa18f89 100644
--- a/test-cairo.scm
+++ b/test-cairo.scm
@@ -8,7 +8,7 @@
 (import chicken scheme foreign)
 
 (declare
- (foreign-declare "#include <SDL.h>\n")
+ (foreign-declare "#include <SDL/SDL.h>\n")
  (run-time-macros)
 )
 (foreign-code "SDL_Init(SDL_INIT_EVERYTHING);")





reply via email to

[Prev in Thread] Current Thread [Next in Thread]