GUAC-730: Add stddef.h to generated keymaps. Fix perl warning while we're at it.
This commit is contained in:
parent
fdc886a5fb
commit
8bc4864d9a
@ -32,9 +32,9 @@
|
|||||||
use 5.008;
|
use 5.008;
|
||||||
|
|
||||||
sub keymap_symbol {
|
sub keymap_symbol {
|
||||||
my $_ = shift;
|
my $name = shift;
|
||||||
s/-/_/g;
|
$name =~ s/-/_/g;
|
||||||
return 'guac_rdp_keymap_' . $_;
|
return 'guac_rdp_keymap_' . $name;
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -54,6 +54,8 @@ print OUTPUT
|
|||||||
. '#else' . "\n"
|
. '#else' . "\n"
|
||||||
. '#include <freerdp/kbd/layouts.h>' . "\n"
|
. '#include <freerdp/kbd/layouts.h>' . "\n"
|
||||||
. '#endif' . "\n"
|
. '#endif' . "\n"
|
||||||
|
. "\n"
|
||||||
|
. '#include <stddef.h>' . "\n"
|
||||||
. "\n";
|
. "\n";
|
||||||
|
|
||||||
for my $filename (@ARGV) {
|
for my $filename (@ARGV) {
|
||||||
|
Loading…
Reference in New Issue
Block a user