How to show civicrm toolbar in drupal also?
To answer your question, I wrote a module:

https://www.drupal.org/project/civimenu

The code snippet I posted below probably wouldn't work because of timing issues (by the time the block was being printed it's too late to add the header). Seemed better to package it up into a module. Enjoy.