File: Add-include-to-foreign_db.c

package info (click to toggle)
gretl 2025c-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 65,328 kB
  • sloc: ansic: 429,246; sh: 4,918; makefile: 3,261; cpp: 2,777; xml: 610; perl: 364
file content (16 lines) | stat: -rw-r--r-- 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Add a missing #include 
 Compilation on s390x and two other platforms fell over because reverse_double(),
 a macro, was seen as undefined. Adding the #include should fix this.
Author: Dirk Eddelbuettel <edd@debian.org>
Last-Update: 2025-11-30

--- gretl-2025c.orig/lib/src/foreign_db.c
+++ gretl-2025c/lib/src/foreign_db.c
@@ -29,6 +29,7 @@
 #include "libgretl.h"
 #include "dbread.h"
 #include "foreign_db.h"
+#include "swap_bytes.h"
 
 #define RATSCOMMENTLENGTH 80
 #define RATSCOMMENTS 2