summaryrefslogtreecommitdiffstats
path: root/src/util/ss/ss_internal.h
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1995-06-09 10:38:29 +0000
committerEzra Peisach <epeisach@mit.edu>1995-06-09 10:38:29 +0000
commit456f74501f49094548766a267c54542201e2c74c (patch)
tree8234c585c72bf851e55bf4cd368d48079ce12ce9 /src/util/ss/ss_internal.h
parent12677cc1c92791ce0a10c7b1450e36b060cbc80b (diff)
downloadkrb5-456f74501f49094548766a267c54542201e2c74c.tar.gz
krb5-456f74501f49094548766a267c54542201e2c74c.tar.xz
krb5-456f74501f49094548766a267c54542201e2c74c.zip
error.c (ss_error): remove const declaration from local variable. (it is
used with free is called on the contents). ss_internal.h: Include stdlib.h if present on system. If is present, don't redeclare malloc. configure.in: Check for stdlib.h before including blindly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5998 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/ss/ss_internal.h')
-rw-r--r--src/util/ss/ss_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/ss/ss_internal.h b/src/util/ss/ss_internal.h
index 47c194b8e..54046df28 100644
--- a/src/util/ss/ss_internal.h
+++ b/src/util/ss/ss_internal.h
@@ -9,7 +9,9 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#ifdef HAVE_STDLIB_H
#include <stdlib.h>
+#endif
#ifdef __STDC__
@@ -107,9 +109,11 @@ void ss_page_stdin();
extern ss_data **_ss_table;
extern char *ss_et_msgs[];
+#ifndef HAVE_STDLIB_H
extern pointer malloc PROTOTYPE((unsigned));
extern pointer realloc PROTOTYPE((pointer, unsigned));
extern pointer calloc PROTOTYPE((unsigned, unsigned));
+#endif
#ifdef USE_SIGPROCMASK
/* fake sigmask, sigblock, sigsetmask */