Sfoglia il codice sorgente

nvidia_flags: Add missing header guard

Prevents potential inclusion compilation errors.
Lioncash 5 anni fa
parent
commit
ff6a83e0fe
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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
 // Licensed under GPLv2 or any later version
 // Refer to the license.txt file included.
 // Refer to the license.txt file included.
 
 
+#pragma once
+
 namespace Common {
 namespace Common {
 
 
 /// Configure platform specific flags for Nvidia's driver
 /// Configure platform specific flags for Nvidia's driver