Borrowed from Ottoman Turkish خندق (hendek), from Arabic خَنْدَق (ḵandaq).
јѐндек m (Latin spelling jèndek)