summaryrefslogtreecommitdiffstats
path: root/contrib/libreadline/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libreadline/undo.c')
-rw-r--r--contrib/libreadline/undo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/libreadline/undo.c b/contrib/libreadline/undo.c
index e29e940..25c287b 100644
--- a/contrib/libreadline/undo.c
+++ b/contrib/libreadline/undo.c
@@ -48,8 +48,7 @@
#include "history.h"
#include "rlprivate.h"
-
-#define SWAP(s, e) do { int t; t = s; s = e; e = t; } while (0)
+#include "xmalloc.h"
/* Non-zero tells rl_delete_text and rl_insert_text to not add to
the undo list. */
OpenPOWER on IntegriCloud