summaryrefslogtreecommitdiff
path: root/sysutils/syslinux/files/patch-libinstaller-syslinux.h
blob: 656ff493c43100891903977dbfb15da15a02533a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- libinstaller/syslinux.h.orig	2010-10-20 21:25:38.000000000 +0200
+++ libinstaller/syslinux.h	2010-12-05 14:34:43.252716727 +0100
@@ -13,17 +13,18 @@
 #ifndef SYSLINUX_H
 #define SYSLINUX_H
 
+#include <sys/types.h>
 #include <inttypes.h>
 #include "advconst.h"
 #include "setadv.h"
 
 /* The standard boot sector and ldlinux image */
-extern unsigned char syslinux_bootsect[];
+extern unsigned char *syslinux_bootsect;
 extern const unsigned int syslinux_bootsect_len;
 extern const int syslinux_bootsect_mtime;
 
-extern unsigned char syslinux_ldlinux[];
-extern const unsigned int syslinux_ldlinux_len;
+extern unsigned char *syslinux_ldlinux;
+extern unsigned int syslinux_ldlinux_len;
 extern const int syslinux_ldlinux_mtime;
 
 #define boot_sector	syslinux_bootsect
@@ -31,7 +32,7 @@
 #define boot_image	syslinux_ldlinux
 #define boot_image_len	syslinux_ldlinux_len
 
-extern unsigned char syslinux_mbr[];
+extern unsigned char *syslinux_mbr;
 extern const unsigned int syslinux_mbr_len;
 extern const int syslinux_mbr_mtime;