[pisa-src] r2946 - trunk/pairing/util/pisa-pairing-date.c

  • From: Christoph Viethen <christoph.viethen@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 22 Mar 2012 15:29:41 +0100

Author: viethen
Date: Thu Mar 22 15:29:39 2012
New Revision: 2946

Log:
Fix the complaining autobuilder ... 

(Something seems to be broken about uClibc's include files -
the fix is by no means beautiful, but seems to work well.)

Modified:
   trunk/pairing/util/pisa-pairing-date.c

Modified: trunk/pairing/util/pisa-pairing-date.c
==============================================================================
--- trunk/pairing/util/pisa-pairing-date.c      Thu Mar 22 14:19:48 2012        
(r2945)
+++ trunk/pairing/util/pisa-pairing-date.c      Thu Mar 22 15:29:39 2012        
(r2946)
@@ -26,9 +26,12 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#define __USE_MISC
 #include <time.h>
 
+#ifndef __USE_MISC
+extern time_t timegm(struct tm *__tp) __THROW;
+#endif
+
 static void print_patched_date(char *input_date_string, char *offset_string)
 {
     int       offset;
-- 
This is the pisa developer mailing list. Please also subscribe to the main pisa 
list at:
//www.freelists.org/list/pisa

Other related posts:

  • » [pisa-src] r2946 - trunk/pairing/util/pisa-pairing-date.c - Christoph Viethen