Check for stdlib.h (configure.in)
authorEzra Peisach <epeisach@mit.edu>
Tue, 23 Jan 1996 18:25:05 +0000 (18:25 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 23 Jan 1996 18:25:05 +0000 (18:25 +0000)
Include stdlib.h and string.h for declarations of such items like malloc,
strlen, memmove...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7370 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/gssapi/mechglue/ChangeLog
src/lib/gssapi/mechglue/add_mechanism.c
src/lib/gssapi/mechglue/configure.in
src/lib/gssapi/mechglue/g_accept_sec_context.c
src/lib/gssapi/mechglue/g_acquire_cred.c
src/lib/gssapi/mechglue/g_dsp_name.c
src/lib/gssapi/mechglue/g_imp_name.c
src/lib/gssapi/mechglue/g_indicate_mechs.c
src/lib/gssapi/mechglue/g_init_sec_context.c
src/lib/gssapi/mechglue/g_initialize.c
src/lib/gssapi/mechglue/g_inquire_cred.c

index 11e8bfa1bae2d99a1b8349a148dc0aacde178e1a..d082892f9fd3ccbe057816737dee3a7c514341ca 100644 (file)
@@ -1,5 +1,11 @@
 Tue Jan 23 11:52:24 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
+       * add_mechanism.c, g_inquire_cred.c, g_imp_name.c,
+         g_dsp_name.c, g_indicate_mechs.c, g_accept_sec_context.c,
+         g_init_sec_context.c, g_acquire_cred.c: Include stdlib.h, string.h
+
+       * configure.in: Check for stdlib.h
+
        * Makefile.in (SRCS): Remove extraneous line with only a tab.
                (SHLIB_LDFLAGS): Declare that krb5_gss_initialize is to be
                unresolved. 
index 398f0503f8baf59231de380a72fa7c79c84fed45..843dd19f6f423f6bb7e2a03ade94a5d6f9dec17f 100644 (file)
@@ -7,6 +7,10 @@
  */
 
 #include "mglueP.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#include <string.h>
 #include <errno.h>
 
 static struct gss_config null_mech = {
index e691fe424b9cc31b8ff89ea6d2c767d58bd26117..9b39041a7e76aab5cf3e0d6612f511248b95c835 100644 (file)
@@ -4,6 +4,7 @@ AC_PROG_ARCHIVE
 AC_PROG_ARCHIVE_ADD
 AC_PROG_RANLIB
 AC_PROG_INSTALL
+AC_CHECK_HEADERS(stdlib.h)
 V5_SHARED_LIB_OBJS
 SubdirLibraryRule([${OBJS}])
 CopySrcHeader(mechglue.h,[$(EHDRDIR)])
index 31162d842eef24b068541686c373b1ee3df82f57..97693a9595b1b4ea4d10c471143d9cc744f4ae8a 100644 (file)
@@ -7,6 +7,10 @@
  */
 
 #include "mglueP.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#include <string.h>
 
 OM_uint32
 gss_accept_sec_context (minor_status,
index e904c9dda47e48e66b062b5ac564e90a0bc40d03..915642eba9163836498296150e6ce30b8313d8e1 100644 (file)
@@ -7,6 +7,10 @@
  */
 
 #include "mglueP.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#include <string.h>
 
 OM_uint32
 gss_acquire_cred(minor_status,
index 0009efdcece1a39b638d5cea515b1b9ddf0cbc0f..a0fa1790140c171dba184740623b9c68d8c45743 100644 (file)
@@ -7,6 +7,10 @@
  */
 
 #include "mglueP.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#include <string.h>
 
 OM_uint32
 gss_display_name (minor_status,
index 4f22fe0e51d213d79cfd49d45bba0d2bb16a086c..3a9053cc898754e670de056c03e524541ea3b323 100644 (file)
@@ -7,6 +7,10 @@
  */
 
 #include "mglueP.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#include <string.h>
 
 OM_uint32
 gss_import_name(minor_status,
index 3071f569a78d1bbe20c1b2b4606d72a160981b35..33d4bdd6f80a84a672f021b228cc14b03830e471 100644 (file)
@@ -7,6 +7,10 @@
  */
 
 #include "mglueP.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#include <string.h>
 
 extern gss_mechanism *mechs_array;
 
index 8899386c757f99dca41ac50b9f1d6d873ecdae2b..91b607382c0192fa1b7be6a959043e5ee1acf0b7 100644 (file)
@@ -7,6 +7,10 @@
  */
 
 #include "mglueP.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#include <string.h>
 
 OM_uint32
 gss_init_sec_context (minor_status,
index 5081b1a2863cc11174da508a0e4094de4a885433..8325130cf04307d841ecece54c0d57a59d25bc32 100644 (file)
@@ -7,6 +7,11 @@
  */
 
 #include "mglueP.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+extern gss_mechanism krb5_gss_initialize();
 
 static int _gss_initialized = 0;
 
index 9d1697aa0d9dbe549570bc21cdefe33730340456..f2931cafddc76103bca0fa7f97245a8855764034 100644 (file)
@@ -7,6 +7,10 @@
  */
 
 #include "mglueP.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#include <string.h>
 
 OM_uint32
 gss_inquire_cred(minor_status,