浏览代码

Include string.h for memset() on OpenBSD

Anton Yabchinskiy 10 年之前
父节点
当前提交
523e64d30b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      platform/x11/os_x11.cpp

+ 1 - 0
platform/x11/os_x11.cpp

@@ -32,6 +32,7 @@
 #include "key_mapping_x11.h"
 #include "key_mapping_x11.h"
 #include <stdio.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdlib.h>
+#include <string.h>
 #include "print_string.h"
 #include "print_string.h"
 #include "servers/physics/physics_server_sw.h"
 #include "servers/physics/physics_server_sw.h"
 #include "errno.h"
 #include "errno.h"