hddtemp/hddtemp-0.3_beta15-gcc-4.8.patch

18 lines
432 B
Diff
Raw Normal View History

--- hddtemp-0.3-beta15.orig/src/backtrace.c 2006-04-19 04:38:14.000000000 +0200
+++ hddtemp-0.3-beta15/src/backtrace.c 2013-07-29 02:10:59.907374731 +0200
@@ -27,12 +27,12 @@
#include <stdlib.h>
#include <unistd.h>
#include <linux/ptrace.h>
+#define __USE_GNU
+#include <ucontext.h>
#include <signal.h>
#include <bits/sigcontext.h>
#include <sys/param.h>
-#define __USE_GNU
-#include <ucontext.h>
#define MAX_BTSIZE 64