forked from pool/prctl
Petr Gajdos
f3c843ae36
OBS-URL: https://build.opensuse.org/package/show/utilities/prctl?expand=0&rev=13
27 lines
743 B
Diff
27 lines
743 B
Diff
Index: prctl-1.6/configure
|
|
===================================================================
|
|
--- prctl-1.6.orig/configure
|
|
+++ prctl-1.6/configure
|
|
@@ -673,7 +673,7 @@ cat > conftest.$ac_ext << EOF
|
|
#line 674 "configure"
|
|
#include "confdefs.h"
|
|
|
|
-main(){return(0);}
|
|
+int main(){return(0);}
|
|
EOF
|
|
if { (eval echo configure:679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
ac_cv_prog_cc_works=yes
|
|
Index: prctl-1.6/prctl.c
|
|
===================================================================
|
|
--- prctl-1.6.orig/prctl.c
|
|
+++ prctl-1.6/prctl.c
|
|
@@ -26,7 +26,7 @@
|
|
#include <getopt.h>
|
|
#include <errno.h>
|
|
#include <pwd.h>
|
|
-#include <linux/prctl.h>
|
|
+#include <sys/prctl.h>
|
|
#include <string.h>
|
|
|
|
/* Version */
|