mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
14 lines
319 B
Diff
14 lines
319 B
Diff
--- ./src/linux.c 2017-02-13 17:52:14.000000000 +0100
|
|
+++ ./src/linux.c 2017-02-18 04:42:13.893911649 +0100
|
|
@@ -44,6 +44,10 @@
|
|
#include <efivar.h>
|
|
#include <efiboot.h>
|
|
|
|
+#if !defined(__GLIBC__)
|
|
+#define strndupa(x,s) strncpy(alloca(strlen(x)+1),x,s)
|
|
+#endif
|
|
+
|
|
#include "dp.h"
|
|
#include "linux.h"
|
|
#include "util.h"
|