Skip to content

Commit

Permalink
VRBase: fix build error with musl libc
Browse files Browse the repository at this point in the history
```
ppsspp-1.14.1/Common/VR/VRBase.cpp:94:9: error: 'exit' was not declared in this scope
   exit(1);                                                                   
```
exit() is declared in stdlib.h, but due to namespace pollution in glibc it happens to work there.
  • Loading branch information
rofl0r committed Dec 20, 2022
1 parent 2d1f8f0 commit f406a20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Common/VR/VRBase.cpp
Expand Up @@ -2,6 +2,7 @@

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>

Expand Down

0 comments on commit f406a20

Please sign in to comment.