dropbox / dbx_build_tools

Dropbox's Bazel rules and tools
Other
208 stars 36 forks source link

Support glibc >= 2.30 #3

Closed andni233 closed 4 years ago

andni233 commented 4 years ago

The header was removed in glibc 2.30: https://savannah.gnu.org/forum/forum.php?forum_id=9515

The Python sources contain logic like this in Modules/fcntlmodule.c and other locations:

#ifdef HAVE_STROPTS_H
#include <stropts.h>
#endif

To be able to build with missing, remove the HAVE_STROPTS_H define.