1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00

opkg: Fix sighandler compile error (patch from upstream)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-05-23 00:24:36 +01:00
parent 525edb3e96
commit 85878623ab
@@ -0,0 +1,14 @@
Index: opkg/libopkg/opkg_install.c
===================================================================
--- opkg.orig/libopkg/opkg_install.c 2009-05-23 00:20:04.000000000 +0100
+++ opkg/libopkg/opkg_install.c 2009-05-23 00:20:09.000000000 +0100
@@ -21,7 +21,9 @@
#include <glob.h>
#include <time.h>
#include <signal.h>
+#ifndef __USE_GNU
typedef void (*sighandler_t)(int);
+#endif
#include "pkg.h"
#include "pkg_hash.h"