1. Sam Bull
  2. pygame

Commits

illume  committed dd6752f

refers to #92. Only include asm/types.h on linux

  • Participants
  • Parent commits efe9c4a
  • Branches default

Comments (0)

Files changed (1)

File src/camera.h

View file
  • Ignore whitespace
     #include <sys/mman.h>
     #include <sys/ioctl.h>
 
-    #include <asm/types.h>          /* for videodev2.h */
+    /* on freebsd there is no asm/types */
+    #ifdef linux
+        #include <asm/types.h>          /* for videodev2.h */
+    #endif
 
     #include <linux/videodev2.h>
 #elif defined(__APPLE__)