fix generic compil

This commit is contained in:
Jacek Jendrzej
2018-12-01 12:35:02 +01:00
parent 2e8aa93895
commit 4fecdd558a
2 changed files with 2 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ hw_caps_t *get_hwcaps(void)
caps.display_can_deepstandby = 0; caps.display_can_deepstandby = 0;
caps.display_can_set_brightness = 0; caps.display_can_set_brightness = 0;
caps.display_has_statusline = 0; caps.display_has_statusline = 0;
caps.has_button_vformat = 0;
strcpy(caps.boxvendor, "Generic"); strcpy(caps.boxvendor, "Generic");
strcpy(caps.boxname, "PC"); strcpy(caps.boxname, "PC");
if (! uname(&u)) if (! uname(&u))

View File

@@ -39,6 +39,7 @@ typedef struct hw_caps
int display_can_deepstandby; int display_can_deepstandby;
int display_can_set_brightness; int display_can_set_brightness;
int display_has_statusline; int display_has_statusline;
int has_button_vformat;
char boxvendor[64]; char boxvendor[64];
char boxname[64]; char boxname[64];
char boxarch[64]; char boxarch[64];