Skip to contentSkip to conversation

Add missing include to fix build on Cygwin

PATCH New Christian Franke 1 participant 1 message Mar 3, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing include to fix build on Cygwin

This fixes a regression in grub-pe2elf which breaks build on Cygwin.

2010-03-03 Christian Franke<[email protected]>

* util/grub-pe2elf.c: Add missing include "progname.h". This fixes build on Cygwin.

Signature · 2 lines
Regards,
Christian Franke

=== modified file 'util/grub-pe2elf.c'

grub-pe2elf.c +2 -0
@@ -29,6 +29,8 @@
 #include <stdlib.h>
 #include <getopt.h>
 
+#include "progname.h"
+
 static struct option options[] = {
   {"help", no_argument, 0, 'h'},
   {"version", no_argument, 0, 'V'},