Files

40 lines
1.2 KiB
C
Raw Permalink Normal View History

2014-11-24 19:21:43 +00:00
--- libinstaller/syslinux.h.orig 2014-10-06 18:27:44.000000000 +0200
+++ libinstaller/syslinux.h 2014-10-21 23:58:17.000000000 +0200
@@ -13,6 +13,7 @@
2010-12-05 13:38:10 +00:00
#ifndef SYSLINUX_H
#define SYSLINUX_H
2014-11-24 19:21:43 +00:00
+#include <unistd.h>
2010-12-05 13:38:10 +00:00
#include <inttypes.h>
#include "advconst.h"
2010-11-18 17:42:52 +00:00
#include "setadv.h"
2014-11-24 19:21:43 +00:00
@@ -26,15 +27,15 @@
#endif
2010-11-18 17:42:52 +00:00
/* The standard boot sector and ldlinux image */
-extern unsigned char syslinux_bootsect[];
2014-11-24 19:21:43 +00:00
+extern unsigned char* syslinux_bootsect;
2010-11-18 17:42:52 +00:00
extern const unsigned int syslinux_bootsect_len;
extern const int syslinux_bootsect_mtime;
2014-11-24 19:21:43 +00:00
-extern unsigned char _slimg syslinux_ldlinux[];
2010-11-18 17:42:52 +00:00
-extern const unsigned int syslinux_ldlinux_len;
2014-11-24 19:21:43 +00:00
+extern unsigned char* _slimg syslinux_ldlinux;
2010-11-18 17:42:52 +00:00
+extern unsigned int syslinux_ldlinux_len;
extern const int syslinux_ldlinux_mtime;
2014-11-24 19:21:43 +00:00
-extern unsigned char _slimg syslinux_ldlinuxc32[];
+extern unsigned char* _slimg syslinux_ldlinuxc32;
extern const unsigned int syslinux_ldlinuxc32_len;
2014-11-24 19:21:43 +00:00
2010-11-18 17:42:52 +00:00
#define boot_sector syslinux_bootsect
2014-11-24 19:21:43 +00:00
@@ -42,7 +43,7 @@
2010-11-18 17:42:52 +00:00
#define boot_image syslinux_ldlinux
#define boot_image_len syslinux_ldlinux_len
-extern unsigned char syslinux_mbr[];
2014-11-24 19:21:43 +00:00
+extern unsigned char* syslinux_mbr;
2010-11-18 17:42:52 +00:00
extern const unsigned int syslinux_mbr_len;
extern const int syslinux_mbr_mtime;