2024-04-18 12:29 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002809Buildsystem[All Projects] Generalpublic2021-03-22 16:20
ReporterPICCORO Lenz McKAY 
Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
StatusnewResolutionopen 
PlatformLinuxOSOS Version
Summary0002809: error: unknown type name 'DIR'
Descriptiontrying to compile in older rasberry pi get this error


[ 329s] frontends/gtk/toolbar.c: In function 'savepage_button_clicked_cb':
[ 329s] frontends/gtk/toolbar.c:2201:2: error: unknown type name 'DIR'

solved by including #include <dirent.h>
Additional Informationpatch attached
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #
Attached Files
  • patch file icon dirmissing-olderwheezy.patch (344 bytes) 2021-03-22 16:20 -
    Description: <short summary of the patch>
    Author: PICCORO Lenz McKAY <mckaygerhard@gmail.com>
    
    --- netsurf-3.10.orig/netsurf/frontends/gtk/toolbar.c
    +++ netsurf-3.10/netsurf/frontends/gtk/toolbar.c
    @@ -24,6 +24,7 @@
     #include <stdlib.h>
     #include <string.h>
     #include <unistd.h>
    +#include <dirent.h>
     #include <errno.h>
     #include <gtk/gtk.h>
     
    
    patch file icon dirmissing-olderwheezy.patch (344 bytes) 2021-03-22 16:20 +

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2021-03-22 16:20 PICCORO Lenz McKAY New Issue
2021-03-22 16:20 PICCORO Lenz McKAY File Added: dirmissing-olderwheezy.patch
+Issue History