about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/lesstif/c-missing_xm_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/lesstif/c-missing_xm_h.patch')
-rw-r--r--nixpkgs/pkgs/development/libraries/lesstif/c-missing_xm_h.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/lesstif/c-missing_xm_h.patch b/nixpkgs/pkgs/development/libraries/lesstif/c-missing_xm_h.patch
new file mode 100644
index 000000000000..2d298d5f4c4e
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/lesstif/c-missing_xm_h.patch
@@ -0,0 +1,11 @@
+--- lesstif2-0.94.4.orig/include/Motif-2.1/Xm/XmStrDefs.h
++++ lesstif2-0.94.4/include/Motif-2.1/Xm/XmStrDefs.h
+@@ -28,6 +28,8 @@
+ 
+ #include <X11/StringDefs.h>
+ 
++#include <Xm/Xm.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif