aboutsummaryrefslogtreecommitdiff
path: root/libXt/util/Shell.ht
diff options
context:
space:
mode:
Diffstat (limited to 'libXt/util/Shell.ht')
-rw-r--r--libXt/util/Shell.ht4
1 files changed, 3 insertions, 1 deletions
diff --git a/libXt/util/Shell.ht b/libXt/util/Shell.ht
index c9e7e01ea..b18fa77a4 100644
--- a/libXt/util/Shell.ht
+++ b/libXt/util/Shell.ht
@@ -51,7 +51,9 @@ SOFTWARE.
#ifndef _XtShell_h
#define _XtShell_h
-#include <X11/SM/SMlib.h>
+#ifndef XT_NO_SM
+include <X11/SM/SMlib.h>
+#endif
#include <X11/Intrinsic.h>
/***********************************************************************