Преглед изворни кода

nvidia_flags: Add missing header guard

Prevents potential inclusion compilation errors.
Lioncash пре 5 година
родитељ
комит
ff6a83e0fe
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/common/nvidia_flags.h

+ 2 - 0
src/common/nvidia_flags.h

@@ -2,6 +2,8 @@
 // Licensed under GPLv2 or any later version
 // Refer to the license.txt file included.
 
+#pragma once
+
 namespace Common {
 
 /// Configure platform specific flags for Nvidia's driver