blob: 6b4f8516b65ab4c5dd2eb8e6fce99334d77af243 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
From 38a37394194794217371d1213424646a77674ce6 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Tue, 18 Oct 2022 21:26:25 +0100
Subject: [PATCH] Add missing include for strlen
--- a/tinlink.c
+++ b/tinlink.c
@@ -33,6 +33,7 @@
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
+#include <string.h>
#define DEFAULT_START (unsigned char *)(0x8000000+sizeof(Elf32_Ehdr)-8+sizeof(Elf32_Phdr)-2)
#define DEFAULT_OUTPUT "a.out"
|