Compactness results for the p-Laplace equation