From c4849f7e354d3c685c44ac2b2a7110238b17122b Mon Sep 17 00:00:00 2001
From: Rob Landley <rob@landley.net>
Date: Fri, 16 Mar 2012 06:20:48 -0500
Subject: The linux header doesn't prototype unshare, and the glibc header
 introduced a regression in recent versions inexplicably crediting a linux
 feature to the FSF, so add the prototype ourselves.

---
 toys/unshare.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'toys')

diff --git a/toys/unshare.c b/toys/unshare.c
index fceee522..1df9b758 100644
--- a/toys/unshare.c
+++ b/toys/unshare.c
@@ -27,6 +27,7 @@ config UNSHARE
 
 #include "toys.h"
 #include <linux/sched.h>
+extern int unshare (int __flags);
 
 void unshare_main(void)
 {
-- 
cgit v1.2.3