All 787's have a universal power outlet (I.e. It accepts almost any countries power plug).
Some older planes (757's, Airbus 300 series, etc.) have an em-power plug but they have been phased out over the past 5 years or so.
You'll be fine as far as being able to plug in your MacBook.