PHP files included within functions.php don’t work from admin area

The problem here is that you’re not including yourtheme/includes/admin.php, you’re actually including wp-admin/includes/admin.php, so pass a full path to the require statement rather than a relative one e.g.:

require(get_template_directory().'includes/admin.php');