summaryrefslogtreecommitdiff
blob: b5ede40e14926165f4ed016cd5fae18bf91df12f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- gracer-0.1.5/src/glbind.c
+++ gracer-0.1.5/src/glbind.c
@@ -142,7 +142,7 @@
     return NULL;
 
   entry = Tcl_FindHashEntry (&cache_hash, key);
-  if (&entry)
+  if (!entry)
     return NULL;
 
   return Tcl_GetHashValue (entry);
--- gracer-0.1.5/src/joystick.c
+++ gracer-0.1.5/src/joystick.c
@@ -20,6 +20,7 @@
  */
 
 #include <unistd.h>
+#include <string.h>
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>