Borrowed from Ottoman Turkish خندق (hendek), from Arabic خَنْدَق (ḵandaq).
ендек • (endek) m (diminutive ендече)