Просмотр исходного кода

nvidia_flags: Add missing header guard

Prevents potential inclusion compilation errors.
Lioncash 5 лет назад
Родитель
Сommit
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