[AD] patch for implicit declaration

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


   Simple fix for undefined _al_sane_strncpy. Probably a harmless
problem, but it might cause inconsistencies when size_t is not the same
size as int.

-- 
Sam.
Index: src/unix/usystem.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/unix/usystem.c,v
retrieving revision 1.29
diff -u -r1.29 usystem.c
--- src/unix/usystem.c	2 Aug 2004 11:30:41 -0000	1.29
+++ src/unix/usystem.c	5 Aug 2004 16:54:59 -0000
@@ -24,6 +24,7 @@
 
 
 #include "allegro.h"
+#include "allegro/internal/aintern.h"
 #include "allegro/platform/aintunix.h"
 
 #if defined(ALLEGRO_USE_SCHED_YIELD) && defined(_POSIX_PRIORITY_SCHEDULING)


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/