Commits

illume committed dd6752f

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

  • Participants
  • Parent commits efe9c4a

Comments (0)

Files changed (1)

File src/camera.h

     #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__)