The structural properties of graphite, such as the interlayer equilibrium distance, the elastic constant, and the net layer binding energy, are obtained using the adiabatic-connection fluctuation-dissipation theorem in the random phase approximation. Excellent agreement is found with the available experimental data; however, our computed binding energy of 48 meV per atom is somewhat smaller than the one obtained by quantum Monte Carlo methods. The asymptotic behavior of the interlayer dispersion interaction, previously derived from analytic approximations, is explicitly demonstrated to follow a d-3 behavior at very large distances.