소스 검색

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