From 9e05fb8cb74641cb69ca510b5a17d1ac84dfff4b Mon Sep 17 00:00:00 2001 From: Christian Kampka Date: Fri, 6 Nov 2015 15:27:45 +0100 Subject: main/oidentd: fix inline compiler failure --- main/oidentd/fix-inline.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 main/oidentd/fix-inline.patch (limited to 'main/oidentd/fix-inline.patch') diff --git a/main/oidentd/fix-inline.patch b/main/oidentd/fix-inline.patch new file mode 100644 index 0000000000..777d9f68fa --- /dev/null +++ b/main/oidentd/fix-inline.patch @@ -0,0 +1,13 @@ +diff --git a/src/oidentd_util.h.orig b/src/oidentd_util.h +index a136c47..639d49f 100644 +--- a/src/oidentd_util.h.orig ++++ b/src/oidentd_util.h +@@ -58,7 +58,7 @@ int find_user(const char *temp_user, uid_t *uid); + int find_group(const char *temp_group, gid_t *gid); + + int random_seed(void); +-inline int randval(int i); ++extern int randval(int i); + + #ifndef HAVE_SNPRINTF + int snprintf(char *str, size_t n, char const *fmt, ...); -- cgit v1.2.3