depot/pkgs/tools/networking/openvpn/auth-ldap-fix-conftest.patch
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

36 lines
1.1 KiB
Diff

diff --git a/aclocal.m4 b/aclocal.m4
index e5b7dbf..01cecf1 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -73,6 +73,7 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
AC_LANG_PROGRAM([
#include <objc/objc.h>
#include <objc/Object.h>
+ #include <stdio.h>
], [
Object *obj = @<:@Object alloc@:>@;
puts(@<:@obj name@:>@);
@@ -94,6 +95,7 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
AC_LANG_PROGRAM([
#include <objc/objc.h>
#include <objc/Object.h>
+ #include <stdio.h>
], [
Object *obj = @<:@Object alloc@:>@;
puts(@<:@obj name@:>@);
@@ -131,6 +133,7 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
AC_LANG_PROGRAM([
#include <objc/objc.h>
#include <objc/objc-api.h>
+ #include <stdio.h>
], [
id class = objc_lookUpClass("Object");
id obj = @<:@class alloc@:>@;
@@ -162,6 +165,7 @@ AC_DEFUN([OD_OBJC_RUNTIME],[
#else
#include <objc/objc-api.h>
#endif
+ #include <stdio.h>
], [
#ifdef __GNU_LIBOBJC_
Class class = objc_lookUpClass("Object");