summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in11
1 files changed, 4 insertions, 7 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 2af1545d58..ab5e81fb3c 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1177,13 +1177,10 @@ if test x"$LIBUNWIND_PTRACE" != x"" ; then
#endif
],
[
- int main(int argc, const char ** argv)
- {
- pid_t me = (pid_t)-1;
- ptrace(PTRACE_ATTACH, me, 0, 0);
- ptrace(PTRACE_DETACH, me, 0, 0);
- return 0;
- }
+ pid_t me = (pid_t)-1;
+ ptrace(PTRACE_ATTACH, me, 0, 0);
+ ptrace(PTRACE_DETACH, me, 0, 0);
+ return 0;
],
[
AC_MSG_RESULT(yes)