st/nir: Rework fixup_varying_slots
[mesa.git] / src / mesa / program / program_parser.h
index 412aca1e53d4b500cdf64d639ef342833a05bfcf..dadce126247889fa340785c5e86d810d37d3ec5f 100644 (file)
@@ -20,7 +20,9 @@
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
-#pragma once
+
+#ifndef PROGRAM_PARSER_H
+#define PROGRAM_PARSER_H
 
 #include "main/config.h"
 #include "program/prog_parameter.h"
@@ -288,3 +290,5 @@ extern int _mesa_parse_instruction_suffix(const struct asm_parser_state *state,
     const char *suffix, struct prog_instruction *inst);
 
 /*@}*/
+
+#endif /* PROGRAM_PARSER_H */