Browse Source

remove uClibc specific gettext_printf

Other C libraries like musl/glibc does not define it.
Including stdio.h here breaks Grub2 compilation with
gcc 14 and above.
Thanks to Thomas Petazzoni for analyzing the Grub2 build error.

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Waldemar Brodkorb 3 months ago
parent
commit
9ffed9adb1
1 changed files with 0 additions and 3 deletions
  1. 0 3
      include/libintl.h

+ 0 - 3
include/libintl.h

@@ -50,9 +50,6 @@ char *bindtextdomain(const char *domainname, const char *dirname);
 
 #endif
 
-#include <stdio.h>
-#define gettext_printf(args...) printf(args)
-
 /* to supply LC_MESSAGES and other stuff GNU expects to be exported when
    including libintl.h */
 #include <locale.h>