remove build error on gcc 3.4
[oweals/opkg-lede.git] / libopkg / opkg_install.c
index 47554d0fe0b02a503c7ed9dbac3e9af55f37cf3b..370410a6604b116b3a583df6975a677df11b2883 100644 (file)
@@ -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"