Reciprocating-piston compressor for gaseous media, in particular for a ride-height control system in motor vehicles, comprising • a drive source and a crankcase which are connected to one another, wherein a drive shaft drives a crankshaft which is fastened to said drive shaft and which has a crankpin, • a cylinder head which is fastened to the crankcase, • at least one outlet opening with at least one outlet valve and at least one inlet opening with at least one inlet valve, • a cylindrical component which is fastened to the crankcase and which has an internally situated cylinder barrel with a longitudinal axis, • a connecting rod (50, 230) having a piston (60, 228) which is attached thereto and which has a piston ring, wherein the connecting rod (50, 230) is moved in reciprocating fashion by the crankshaft, and thus the piston (60, 228) is moved in reciprocating fashion in the cylinder barrel, • a first spatial axis which intersects the centre of rotation of the drive shaft and the centre of rotation of the crankpin at an upper reversal point of the crankpin, wherein the maximum pivot angle (238, 240) of the piston ring longitudinal axis (64, 244) relative to the longitudinal axis of the cylinder barrel is smaller during the upward movement of the piston than during the downward movement of the piston (60, 228), and the longitudinal axis of the cylinder barrel is offset with respect to the first spatial axis, wherein the longitudinal axis of the cylinder barrel is pivoted relative to the first spatial axis, characterized in that that surface of the end piece of the cylinder head which is oriented toward the crankcase has a rounding formed in the direction of the piston, and in that the longitudinal axis of the cylinder barrel is pivoted relative to the first spatial axis by an angle of between 0.5° and 7°. • a drive source and a crankcase which are connected to one another, wherein a drive shaft drives a crankshaft which is fastened to said drive shaft and which has a crankpin, • a cylinder head which is fastened to the crankcase, • at least one outlet opening with at least one outlet valve and at least one inlet opening with at least one inlet valve, • a cylindrical component which is fastened to the crankcase and which has an internally situated cylinder barrel with a longitudinal axis, • a connecting rod (50, 230) having a piston (60, 228) which is attached thereto and which has a piston ring, wherein the connecting rod (50, 230) is moved in reciprocating fashion by the crankshaft, and thus the piston (60, 228) is moved in reciprocating fashion in the cylinder barrel, • a first spatial axis which intersects the centre of rotation of the drive shaft and the centre of rotation of the crankpin at an upper reversal point of the crankpin, wherein the maximum pivot angle (238, 240) of the piston ring longitudinal axis (64, 244) relative to the longitudinal axis of the cylinder barrel is smaller during the upward movement of the piston than during the downward movement of the piston (60, 228), and the longitudinal axis of the cylinder barrel is offset with respect to the first spatial axis, wherein the longitudinal axis of the cylinder barrel is pivoted relative to the first spatial axis, characterized in that that surface of the end piece of the cylinder head which is oriented toward the crankcase has a rounding formed in the direction of the piston, and in that the longitudinal axis of the cylinder barrel is pivoted relative to the first spatial axis by an angle of between 0.5° and 7°.