]> code.delx.au - refind/blobdiff - libeg/libegint.h
Properly initialise variable to fix detection of non-Arch kernel versions
[refind] / libeg / libegint.h
index 6bcdf1dcf66d52b58991df4d7c8a1c7f86284e9f..400a65c5f41f9702b2f6178f2e6a27c3f7538a35 100644 (file)
 #ifndef __LIBEG_LIBEGINT_H__
 #define __LIBEG_LIBEGINT_H__
 
-
+#ifdef __MAKEWITH_GNUEFI
 #include <efi.h>
 #include <efilib.h>
+#else
+#include "../include/tiano_includes.h"
+#endif
 
 #include "libeg.h"
 
@@ -49,6 +52,8 @@ typedef EG_IMAGE * (*EG_DECODE_FUNC)(IN UINT8 *FileData, IN UINTN FileDataLength
 
 /* functions */
 
+BOOLEAN egSetScreenSize(IN OUT UINTN *ScreenWidth, IN OUT UINTN *ScreenHeight);
+
 VOID egRestrictImageArea(IN EG_IMAGE *Image,
                          IN UINTN AreaPosX, IN UINTN AreaPosY,
                          IN OUT UINTN *AreaWidth, IN OUT UINTN *AreaHeight);