summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-11 08:57:56 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-03 11:02:11 -0800
commitc7a5d1468c75adb2139d2c2facc73854f13b5ba3 (patch)
tree4d9ec765984305f033e0a65e4659fb743e53399b
parente6821a8a7b16e5a8e4c478c9544798fae59a21d1 (diff)
Remove #ifdef sgi sections
They just included an additional malloc.h header, but SGI Irix has been unsupported for a decade now. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--listing.c4
-rw-r--r--xkbcomp.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/listing.c b/listing.c
index d367e3f..6a2115a 100644
--- a/listing.c
+++ b/listing.c
@@ -77,10 +77,6 @@ SOFTWARE.
#include <sys/stat.h>
#include <X11/keysym.h>
-#if defined(sgi)
-#include <malloc.h>
-#endif
-
#define DEBUG_VAR listingDebug
#include "xkbcomp.h"
#include <stdlib.h>
diff --git a/xkbcomp.c b/xkbcomp.c
index c5775fa..c7079ae 100644
--- a/xkbcomp.c
+++ b/xkbcomp.c
@@ -35,10 +35,6 @@
#include <unistd.h>
/* end BR */
-#if defined(sgi)
-#include <malloc.h>
-#endif
-
#define DEBUG_VAR debugFlags
#include "xkbcomp.h"
#include <stdlib.h>