1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1114445
--- xcircuit-3.9.73+dfsg.1.orig/elements.c
+++ xcircuit-3.9.73+dfsg.1/elements.c
@@ -7,6 +7,7 @@
/* written by Tim Edwards, 8/13/93 */
/*----------------------------------------------------------------------*/
+#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -54,8 +55,6 @@ extern colorindex *colorlist;
extern Pixmap dbuf;
#endif
-extern double atan2();
-
/*------------------------------------------------------------------------*/
/* Declarations of global variables */
/*------------------------------------------------------------------------*/
|