summaryrefslogtreecommitdiff
path: root/profiles/osapi
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-09 02:37:43 -0500
committermidipix <writeonce@midipix.org>2018-12-09 02:37:43 -0500
commit2688847c63beac9df94fc81cdeb29fb4307fcb3c (patch)
tree2323e55ac5ce2bf6203f3fda8e038b7989361d9b /profiles/osapi
parent3ff374c4bac12464bc05372c8728e6638774a66f (diff)
downloadsbpython2-2688847c63beac9df94fc81cdeb29fb4307fcb3c.tar.bz2
sbpython2-2688847c63beac9df94fc81cdeb29fb4307fcb3c.tar.xz
config: linux (and otherwise): detect absence of stropts.h.
Diffstat (limited to 'profiles/osapi')
-rw-r--r--profiles/osapi/overrides.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/osapi/overrides.h b/profiles/osapi/overrides.h
new file mode 100644
index 0000000..0675c79
--- /dev/null
+++ b/profiles/osapi/overrides.h
@@ -0,0 +1,9 @@
+#ifndef PY_OSAPI_OVERRIDES_H
+#define PY_OSAPI_OVERRIDES_H
+
+/* stropts.h */
+#ifdef HAVE_NO_STROPTS_H
+#undef HAVE_STROPTS_H
+#endif
+
+#endif