summaryrefslogtreecommitdiff
path: root/src/SMlibint.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:46 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:46 +0000
commit8e18f1cdc21fe0e125620a912e946ec1031fa2c5 (patch)
tree4c392e7ab39bf60c806241ef1e4a191e411059af /src/SMlibint.h
parentabe0fd5d586b52a851a423a79b95070da418eb10 (diff)
downloadxorg-lib-libSM-8e18f1cdc21fe0e125620a912e946ec1031fa2c5.tar.gz
Diffstat (limited to 'src/SMlibint.h')
-rw-r--r--src/SMlibint.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/SMlibint.h b/src/SMlibint.h
index 030fc45..2e559de 100644
--- a/src/SMlibint.h
+++ b/src/SMlibint.h
@@ -25,6 +25,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
+/* $XFree86: xc/lib/SM/SMlibint.h,v 1.4 2001/12/14 19:53:55 dawes Exp $ */
/*
* Author: Ralph Mor, X Consortium
@@ -40,14 +41,10 @@ in this Software without prior written authorization from The Open Group.
#include <X11/ICE/ICEproto.h>
#include <X11/SM/SMproto.h>
-#ifndef X_NOT_STDC_ENV
#include <stdlib.h>
-#else
-char *malloc();
-#endif
#ifndef NULL
-#define NULL 0
+#include <stddef.h>
#endif